Interface IRows

All Superinterfaces:
IChildable<IRows,IRowBase>, IComponent<IRows>, IGridComposite<IRows>, IHtmlBasedComponent<IRows>, IMeshComposite<IRows>, IXulElement<IRows>

public interface IRows extends IXulElement<IRows>, IChildable<IRows,IRowBase>, IGridComposite<IRows>
Immutable Rows component

Defines the rows of a grid. Each child of a rows element should be a IRow component.

Author:
katherine
See Also:
  • Rows
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zul.grid.Rows"

      Specified by:
      getWidgetClass in interface IComponent<IRows>
    • 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<IRows>
    • withWidth

      default IRows withWidth(@Nullable String width)
      To control the size of Foot related components, please refer to IGrid and IColumn instead.
      Specified by:
      withWidth in interface IHtmlBasedComponent<IRows>
      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<IRows>
    • withHflex

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

      Default: null

      Returns:
      A modified copy of the this object
    • of

      static IRows of(Iterable<? extends IRowBase> children)
      Returns the instance with the given IRowBase children.
      Parameters:
      children - The children of IRowBase
    • of

      static IRows of(IRowBase... children)
      Returns the instance with the given IRowBase children.
      Parameters:
      children - The children of IRowBase
    • ofId

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