Package org.zkoss.stateless.sul
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>>
ImmutablePanelchildren
componentPanelchildren 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 soIHtmlBasedComponent.withWidth(String)
,IHtmlBasedComponent.withHeight(String)
,IHtmlBasedComponent.withVflex(String)
andIHtmlBasedComponent.withHflex(String)
are read-only.- Author:
- katherine
- See Also:
Panelchildren
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IPanelchildren.Builder<I extends IAnyGroup>
Builds instances of typeIPanelchildren
.static class
IPanelchildren.Updater
Builds an updater of typeIPanelchildren
forUiAgent.smartUpdate(Locator, SmartUpdater)
.
-
Field Summary
Fields Modifier and Type Field Description static IPanelchildren<IAnyGroup>
DEFAULT
Constant for default attributes of this immutable component.
-
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>
IPanelchildren<I>of(I... children)
Returns the instance with the given any group children.static <I extends IAnyGroup>
IPanelchildren<I>of(java.lang.Iterable<? extends I> children)
Returns the instance with the given any group children.static <I extends IAnyGroup>
IPanelchildren<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, isVisible, 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.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final IPanelchildren<IAnyGroup> DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zul.wnd.Panelchildren"
- Specified by:
getWidgetClass
in interfaceIComponent<I extends IAnyGroup>
-
of
static <I extends IAnyGroup> IPanelchildren<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> IPanelchildren<I> of(I... children)
Returns the instance with the given any group children.- Parameters:
children
- The children belong to any group- See Also:
IAnyGroup
-
ofId
static <I extends IAnyGroup> IPanelchildren<I> ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id
- The id to identify this component
-
-