Package org.zkoss.stateless.sul
Interface IOrganigram
- All Superinterfaces:
IAnyGroup<IOrganigram>,IChildable<IOrganigram,,IOrgchildren> IComponent<IOrganigram>,IHtmlBasedComponent<IOrganigram>,IXulElement<IOrganigram>
public interface IOrganigram
extends IXulElement<IOrganigram>, IChildable<IOrganigram,IOrgchildren>, IAnyGroup<IOrganigram>
Immutable
To retrieve what is selected in Organigram with a
Organigram component
A container which can be used to draw a hierarchical organizational chart,
you can specify a TreeModel to render the data.
Support @Action
| Name | Action Type |
|---|---|
| onSelect | ActionData: SelectData
Notifies one that the user has selected a new item in the organigram. |
TreeSelectableModel,
you shall use TreeSelectableModel.isPathSelected(int[])
to check whether the current path is selected in TreeSelectableModel.
That is, you shall operate on the item of the TreeSelectableModel
rather than on the IOrgitem of the IOrganigram if you use
the TreeSelectableModel and TreeModel.
To retrieve what are opened nodes in Organigram with a TreeOpenableModel,
you shall use TreeOpenableModel.isPathOpened(int[])
to check whether the current path is opened in TreeOpenableModel
rather than using IOrgitem.isOpen(). That is, you shall operate on
the item of the TreeOpenableModel rather than on the IOrgitem
of the IOrganigram if you use the TreeOpenableModel and TreeModel.
- Author:
- katherine
- See Also:
-
Organigram
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIOrganigram.static classBuilds an updater of typeIOrganigramforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IOrganigramConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the client widget class.static IOrganigramof(Iterable<? extends IOrgchildren> children) Returns the instance with the givenIOrgchildrenchildren.static IOrganigramof(IOrgchildren... children) Returns the instance with the givenIOrgchildrenchildren.static IOrganigramReturns the instance with the given id.Methods 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.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.Organigram"- Specified by:
getWidgetClassin interfaceIComponent<IOrganigram>- Returns:
-
of
Returns the instance with the givenIOrgchildrenchildren.- Parameters:
children- The children ofIOrgchildren
-
of
Returns the instance with the givenIOrgchildrenchildren.- Parameters:
children- The children ofIOrgchildren
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-