Interface ITablechildren<I extends IAnyGroup>

All Superinterfaces:
IChildable<ITablechildren<I>,I>, IComponent<ITablechildren<I>>, IHtmlBasedComponent<ITablechildren<I>>, IXulElement<ITablechildren<I>>

public interface ITablechildren<I extends IAnyGroup> extends IXulElement<ITablechildren<I>>, IChildable<ITablechildren<I>,I>
Immutable Tablechildren component
Author:
katherine
See Also:
  • Tablechildren
  • Field Details

    • DEFAULT

      static final ITablechildren<IAnyGroup> DEFAULT
      Constant for default attributes of this immutable component.
  • Method Details

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zkmax.layout.Tablechildren"

      Specified by:
      getWidgetClass in interface IComponent<I extends IAnyGroup>
    • getColspan

      default int getColspan()
      Returns number of columns to span this header.

      Default: 1.

    • withColspan

      ITablechildren<I> withColspan(int colspan)
      Returns a copy of this immutable component with the specified colspan.

      Sets the number of columns to span this header.

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

      Default: 1.

      Returns:
      A modified copy of the this object
    • getRowspan

      default int getRowspan()
      Returns number of rows to span this header.

      Default: 1.

    • withRowspan

      ITablechildren<I> withRowspan(int rowspan)
      Returns a copy of this immutable component with the specified rowspan.

      Sets the number of rows to span this header.

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

      Default: 1.

      Returns:
      A modified copy of the this object
    • of

      static <I extends IAnyGroup> ITablechildren<I> of(Iterable<? extends I> children)
      Returns the instance with the given any group children.
      Parameters:
      children - The children belong to any group
      See Also:
    • of

      static <I extends IAnyGroup> ITablechildren<I> of(I... children)
      Returns the instance with the given any group children.
      Parameters:
      children - The children belong to any group
      See Also:
    • ofId

      static <I extends IAnyGroup> ITablechildren<I> ofId(String id)
      Returns the instance with the given id.
      Parameters:
      id - The id to identify this component