Package org.zkoss.stateless.sul
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>>
ImmutablePopup
componentA 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)
orIXulElement.withTooltip(java.lang.String)
attribute of the component.- Author:
- katherine
- See Also:
Popup
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IPopup.Builder<I extends IAnyGroup>
Builds instances of typeIPopup
.static class
IPopup.Updater
Builds an updater of typeIPanelchildren
forUiAgent.smartUpdate(Locator, SmartUpdater)
.-
Nested classes/interfaces inherited from interface org.zkoss.stateless.sul.IPopupBase
IPopupBase.OpenOptionBuilder, IPopupBase.Position
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getWidgetClass()
Returns the client widget class.static <I extends IAnyGroup>
IPopup<I>of(I... children)
Returns the instance with the given any group children.static <I extends IAnyGroup>
IPopup<I>of(java.lang.Iterable<? extends I> children)
Returns the instance with the given any group children.static <I extends IAnyGroup>
IPopup<I>ofId(java.lang.String id)
Returns the instance with the given id.-
Methods inherited from interface org.zkoss.stateless.sul.IChildable
getChildren, withChildren, withChildren
-
Methods inherited from interface org.zkoss.stateless.sul.IComponent
getAction, getActions, getClientAttributes, getId, getMold, getWidgetListeners, getWidgetOverrides, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withActions, withActions, withClientAttribute, withClientAttributes, withId, withMold, withVisible, withWidgetClass, withWidgetListener, withWidgetListeners, withWidgetOverride, withWidgetOverrides
-
Methods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.IPopupBase
getOpen, isVisible, withOpen
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zul.wgt.Popup"
- Specified by:
getWidgetClass
in interfaceIComponent<I extends IAnyGroup>
-
of
static <I extends IAnyGroup> IPopup<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 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:
IAnyGroup
-
-