Interface ITablechildren<I extends IAnyGroup>

    • Field Detail

      • DEFAULT

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

      • getWidgetClass

        default java.lang.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 IAnyGroupITablechildren<I> of​(java.lang.Iterable<? extends I> children)
        Returns the instance with the given any group children.
        Parameters:
        children - The children belong to any group
        See Also:
        IAnyGroup
      • of

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

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