Interface IPopup<I extends IAnyGroup>

All Superinterfaces:
IAnyGroup<IPopup<I>>, IChildable<IPopup<I>,I>, IComponent<IPopup<I>>, IHtmlBasedComponent<IPopup<I>>, IPopupBase<IPopup<I>>, IXulElement<IPopup<I>>

public interface IPopup<I extends IAnyGroup> extends IPopupBase<IPopup<I>>, IChildable<IPopup<I>,I>, IAnyGroup<IPopup<I>>
Immutable Popup component

A container that is displayed as a popup. The popup window does not have any special frame. Popups can be displayed when an element is clicked by assigning the id of the popup to either the IXulElement.withPopup(java.lang.String), IXulElement.withContext(java.lang.String) or IXulElement.withTooltip(java.lang.String) attribute of the component.

Author:
katherine
See Also:
  • Popup
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zul.wgt.Popup"

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

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