Interface IGroupfoot<I extends IAnyGroup>

All Superinterfaces:
IChildable<IGroupfoot<I>,I>, IComponent<IGroupfoot<I>>, IGroupfootChild<IGroupfoot<I>>, IHtmlBasedComponent<IGroupfoot<I>>, IRowBase<IGroupfoot<I>>, IXulElement<IGroupfoot<I>>

public interface IGroupfoot<I extends IAnyGroup> extends IGroupfootChild<IGroupfoot<I>>, IChildable<IGroupfoot<I>,I>
Immutable Groupfoot component
Author:
katherine
See Also:
  • Groupfoot
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zkex.grid.Groupfoot"

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

      @Nullable default String getLabel()
      Returns the label of the first ILabel it contains.

      Default: null

    • withLabel

      IGroupfoot<I> withLabel(@Nullable String label)
      Returns a copy of this immutable component with the specified label.

      Sets the value of the ILabel it contains.

      If it is not created, we automatically create it.

      Parameters:
      label - The label of the first child

      Default: null.

      Returns:
      A modified copy of the this object
    • of

      static <I extends IAnyGroup> IGroupfoot<I> of(String label)
      Returns the instance with the given label.
      Parameters:
      label - The label that the first cell holds.
    • of

      static <I extends IAnyGroup> IGroupfoot<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> IGroupfoot<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> IGroupfoot<I> ofId(String id)
      Returns the instance with the given id.
      Parameters:
      id - The id to identify this component