Package org.zkoss.stateless.sul
Interface IOrgchildren
- All Superinterfaces:
IChildable<IOrgchildren,,IOrgitem> IComponent<IOrgchildren>,IHtmlBasedComponent<IOrgchildren>,IOrgitemComposite<IOrgchildren>,IXulElement<IOrgchildren>
public interface IOrgchildren
extends IXulElement<IOrgchildren>, IOrgitemComposite<IOrgchildren>, IChildable<IOrgchildren,IOrgitem>
Immutable
Orgchildren component
Orgchildren contains a collection of Orgitem components. It is main body of the Organigram and it also the main body of an Orgitem's children.
- Author:
- katherine
- See Also:
-
Orgchildren
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIOrgchildren.static classBuilds an updater of typeIOrgchildrenforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IOrgchildrenConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetHflex()Return horizontal flex hint of this component.default intdefault Collection<IOrgitem>getItems()default StringReturns the client widget class.default StringgetWidth()Returns the width of the component.static IOrgchildrenReturns the instance with the givenIOrgitemchildren.static IOrgchildrenReturns the instance with the givenIOrgitemchildren.static IOrgchildrenReturns the instance with the given id.default IOrgchildrenTo control the size of Organigram related components, please refer toIOrganigramandIOrgiteminstead.default IOrgchildrenTo control the size of Organigram related components, please refer toIOrganigramandIOrgiteminstead.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, getLeft, getRenderdefer, getSclass, getSkeleton, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withLeft, withRenderdefer, withSclass, withSkeleton, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, 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.Orgchildren"- Specified by:
getWidgetClassin interfaceIComponent<IOrgchildren>- Returns:
-
getWidth
Description copied from interface:IHtmlBasedComponentReturns the width of the component. If not specified,nullis assumed.Default:
null- Specified by:
getWidthin interfaceIHtmlBasedComponent<IOrgchildren>
-
withWidth
To control the size of Organigram related components, please refer toIOrganigramandIOrgiteminstead.- Specified by:
withWidthin interfaceIHtmlBasedComponent<IOrgchildren>- Parameters:
width- The width of the component.Default:
null- Returns:
- A modified copy of the
thisobject
-
getHflex
Description copied from interface:IHtmlBasedComponentReturn horizontal flex hint of this component.Default:
null- Specified by:
getHflexin interfaceIHtmlBasedComponent<IOrgchildren>
-
withHflex
To control the size of Organigram related components, please refer toIOrganigramandIOrgiteminstead.- Specified by:
withHflexin interfaceIHtmlBasedComponent<IOrgchildren>- Parameters:
hflex- The horizontal flex hint.Default:
null- Returns:
- A modified copy of the
thisobject
-
getItemCount
@Lazy default int getItemCount() -
getItems
-
of
Returns the instance with the givenIOrgitemchildren.- Parameters:
children- The children ofIOrgitem
-
of
Returns the instance with the givenIOrgitemchildren.- Parameters:
children- The children ofIOrgitem
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-