Interface ITablelayout

All Superinterfaces:
IAnyGroup<ITablelayout>, IChildable<ITablelayout,ITablechildren>, IComponent<ITablelayout>, IHtmlBasedComponent<ITablelayout>, IXulElement<ITablelayout>

Immutable Tablelayout component

Tablelayout lay outs a container as an HTML table whose columns can be specified, and rowspan and colspan of its child can also be specified to create complex layouts within the table.

Author:
katherine
See Also:
  • Tablelayout
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zkmax.layout.Tablelayout"

      Specified by:
      getWidgetClass in interface IComponent<ITablelayout>
    • getColumns

      default int getColumns()
      Returns number of rows to span this header. Default: 1.
    • withColumns

      ITablelayout withColumns(int columns)
      Returns a copy of this immutable component with the specified columns.

      Sets the number of rows to span this header.

      Parameters:
      columns - The number of rows to span this header.

      Default: 1.

      Returns:
      A modified copy of the this object
    • of

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

      static ITablelayout of(ITablechildren<IAnyGroup>... children)
      Returns the instance with the given ITablechildren children.
      Parameters:
      children - The children of ITablechildren
    • ofId

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