Interface ITreecols

All Superinterfaces:
IChildable<ITreecols,ITreecol>, IComponent<ITreecols>, IHeadersElement<ITreecols>, IHtmlBasedComponent<ITreecols>, IMeshComposite<ITreecols>, ITreeComposite<ITreecols>, IXulElement<ITreecols>

Immutable Treecols component
Author:
jumperchen
See Also:
  • Treecols
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zul.sel.Treecols"

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

      @Derived @Nullable default 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 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
    • getHflex

      @Derived @Nullable default String getHflex()
      Description copied from interface: IHtmlBasedComponent
      Return horizontal flex hint of this component.

      Default: null

      Specified by:
      getHflex in interface IHtmlBasedComponent<ITreecols>
    • withHflex

      default ITreecols withHflex(@Nullable 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(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(String id)
      Returns the instance with the given id.
      Parameters:
      id - The id to identify this component