Interface IPanelchildren<I extends IAnyGroup>

All Superinterfaces:
IChildable<IPanelchildren<I>,I>, IChildrenOfPanel<IPanelchildren<I>>, IComponent<IPanelchildren<I>>, IHtmlBasedComponent<IPanelchildren<I>>, IXulElement<IPanelchildren<I>>

public interface IPanelchildren<I extends IAnyGroup> extends IXulElement<IPanelchildren<I>>, IChildable<IPanelchildren<I>,I>, IChildrenOfPanel<IPanelchildren<I>>
Immutable Panelchildren component

Panelchildren is used for IPanel component to manage each child who will be shown in the body of Panel. Note that the size of Panelchildren is automatically calculated by Panel so IHtmlBasedComponent.withWidth(String), IHtmlBasedComponent.withHeight(String), IHtmlBasedComponent.withVflex(String) and IHtmlBasedComponent.withHflex(String) are read-only.

Author:
katherine
See Also:
  • Panelchildren
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zul.wnd.Panelchildren"

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

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