Package org.zkoss.stateless.sul
Interface IOrgnode<I extends IAnyGroup>
-
- All Superinterfaces:
IChildable<IOrgnode<I>,I>
,IChildrenOfInputgroup<IOrgnode<I>>
,IComponent<IOrgnode<I>>
,IHtmlBasedComponent<IOrgnode<I>>
,ILabelElement<IOrgnode<I>>
,ILabelImageElement<IOrgnode<I>>
,IOrgitemComposite<IOrgnode<I>>
,IXulElement<IOrgnode<I>>
public interface IOrgnode<I extends IAnyGroup> extends ILabelImageElement<IOrgnode<I>>, IChildable<IOrgnode<I>,I>, IOrgitemComposite<IOrgnode<I>>
ImmutableOrgnode
componentYou could place any kind of children in it. They will be placed right after the image and label.
- Author:
- katherine
- See Also:
Orgnode
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IOrgnode.Builder<I extends IAnyGroup>
Builds instances of typeIOrgnode
.static class
IOrgnode.Updater
Builds an updater of typeIOrgnode
forUiAgent.smartUpdate(Locator, SmartUpdater)
.
-
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>
IOrgnode<I>of(I... children)
Returns the instance with the given any group children.static <I extends IAnyGroup>
IOrgnode<I>of(java.lang.Iterable<? extends I> children)
Returns the instance with the given any group children.static <I extends IAnyGroup>
IOrgnode<I>of(java.lang.String label)
Returns the instance with the given label.static <I extends IAnyGroup>
IOrgnode<I>of(java.lang.String label, java.lang.String image)
Returns the instance with the given label and image.static <I extends IAnyGroup>
IOrgnode<I>ofId(java.lang.String id)
Returns the instance with the given id.static <I extends IAnyGroup>
IOrgnode<I>ofImage(java.lang.String image)
Returns the instance with the given image-
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.ILabelElement
getLabel, withLabel
-
Methods inherited from interface org.zkoss.stateless.sul.ILabelImageElement
getHoverImage, getIconSclass, getIconSclasses, getIconTooltip, getIconTooltips, getImage, isPreloadImage, withHoverImage, withIconSclass, withIconSclasses, withIconTooltip, withIconTooltips, withImage, withPreloadImage
-
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:
"zkmax.layout.Orgnode"
- Specified by:
getWidgetClass
in interfaceIComponent<I extends IAnyGroup>
- Returns:
-
of
static <I extends IAnyGroup> IOrgnode<I> of(java.lang.String label)
Returns the instance with the given label.- Parameters:
label
- The label that the node holds.
-
of
static <I extends IAnyGroup> IOrgnode<I> of(java.lang.String label, java.lang.String image)
Returns the instance with the given label and image.- Parameters:
label
- The label that the node holds.image
- The image that the node holds.
-
of
static <I extends IAnyGroup> IOrgnode<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> IOrgnode<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> IOrgnode<I> ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id
- The id to identify this component
-
-