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>>
Immutable
Orgnode component
You 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 ClassesModifier and TypeInterfaceDescriptionstatic classIOrgnode.Builder<I extends IAnyGroup>Builds instances of typeIOrgnode.static classBuilds an updater of typeIOrgnodeforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the client widget class.of(I... children) Returns the instance with the given any group children.Returns the instance with the given any group children.Returns the instance with the given label.Returns the instance with the given label and image.Returns the instance with the given id.Returns the instance with the given imageMethods inherited from interface org.zkoss.stateless.sul.IChildable
getChildren, withChildren, withChildrenMethods 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, withWidgetOverridesMethods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getSkeleton, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withSkeleton, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndexMethods inherited from interface org.zkoss.stateless.sul.ILabelElement
getLabel, withLabelMethods inherited from interface org.zkoss.stateless.sul.ILabelImageElement
getHoverImage, getIconSclass, getIconSclasses, getIconTooltip, getIconTooltips, getImage, isPreloadImage, withHoverImage, withIconSclass, withIconSclasses, withIconTooltip, withIconTooltips, withImage, withPreloadImageMethods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
Field Details
-
DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Details
-
getWidgetClass
Returns the client widget class.Default:
"zkmax.layout.Orgnode"- Specified by:
getWidgetClassin interfaceIComponent<I extends IAnyGroup>- Returns:
-
of
Returns the instance with the given label.- Parameters:
label- The label that the node holds.
-
of
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
Returns the instance with the given any group children.- Parameters:
children- The children belong to any group- See Also:
-
of
Returns the instance with the given any group children.- Parameters:
children- The children belong to any group- See Also:
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
ofImage
Returns the instance with the given image- Parameters:
image- The image that the node holds.
-