Interface IPortalchildren

All Superinterfaces:
IChildable<IPortalchildren,IPanel>, IComponent<IPortalchildren>, IHtmlBasedComponent<IPortalchildren>, IXulElement<IPortalchildren>

public interface IPortalchildren extends IXulElement<IPortalchildren>, IChildable<IPortalchildren,IPanel>
Immutable Portalchildren component

The column of Portallayout.
Child of Portalchildren can only be Panel.

Author:
katherine
See Also:
  • Portalchildren
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zkmax.layout.Portalchildren"

      Specified by:
      getWidgetClass in interface IComponent<IPortalchildren>
    • getTitle

      @Nullable String getTitle()
      Returns the title of this portalchildren. null means no title.

      Default: null.

    • withTitle

      IPortalchildren withTitle(@Nullable String title)
      Returns a copy of this immutable component with the specified title.

      Sets the title of this portalchildren. null means no title.

      Parameters:
      title - The title of the component.

      Default: null.

      Returns:
      A modified copy of the this object
    • isCounterVisible

      default boolean isCounterVisible()
      Returns whether the counter is visible. Meaningful only if getTitle() is not null or not empty.

      Default: true.

    • withCounterVisible

      IPortalchildren withCounterVisible(boolean counterVisible)
      Returns a copy of this immutable component with the specified counterVisible.

      Sets whether the counter is visible. Meaningful only if getTitle() is not null or not empty.

      Parameters:
      counterVisible - The title of the component.

      Default: true.

      Returns:
      A modified copy of the this object
    • of

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

      static IPortalchildren of(IPanel... children)
      Returns the instance with the given IPanel children.
      Parameters:
      children - The children of IPanel
    • ofSize

      static IPortalchildren ofSize(String width, String height)
      Returns the instance with the given size, width and height.
      Parameters:
      width - The width of the component
      height - The height of the component
    • ofId

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