Interface ITreecols

    • Field Detail

      • DEFAULT

        static final ITreecols DEFAULT
        Constant for default attributes of this immutable component.
    • Method Detail

      • getWidgetClass

        default java.lang.String getWidgetClass()
        Returns the client widget class.

        Default: "zul.sel.Treecols"

        Specified by:
        getWidgetClass in interface IComponent<ITreecols>
      • getWidth

        @Derived
        @Nullable
        default java.lang.String getWidth()
        Description copied from interface: IHtmlBasedComponent
        Returns the width of the component. If not specified, null is assumed.

        Default: null

        Specified by:
        getWidth in interface IHtmlBasedComponent<ITreecols>
      • withWidth

        default ITreecols withWidth​(@Nullable
                                    java.lang.String width)
        To control the size of Foot related components, please refer to ITree and ITreecol instead.
        Specified by:
        withWidth in interface IHtmlBasedComponent<ITreecols>
        Parameters:
        width - The width of the component.

        Default: null

        Returns:
        A modified copy of the this object
      • withHflex

        default ITreecols withHflex​(@Nullable
                                    java.lang.String hflex)
        To control the size of Foot related components, please refer to ITree and ITreecol instead.
        Specified by:
        withHflex in interface IHtmlBasedComponent<ITreecols>
        Parameters:
        hflex - The horizontal flex hint.

        Default: null

        Returns:
        A modified copy of the this object
      • of

        static ITreecols of​(java.lang.Iterable<? extends ITreecol<IAnyGroup>> children)
        Returns the instance with the given tree columns which belong to this component.
        Parameters:
        children - The tree columns of the component.
      • of

        static ITreecols of​(ITreecol<IAnyGroup>... children)
        Returns the instance with the given tree columns which belong to this component.
        Parameters:
        children - The tree columns of the component.
      • ofId

        static ITreecols ofId​(java.lang.String id)
        Returns the instance with the given id.
        Parameters:
        id - The id to identify this component