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>
ImmutableOrgchildrencomponentOrgchildren 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 Classes Modifier and Type Interface Description static classIOrgchildren.BuilderBuilds instances of typeIOrgchildren.static classIOrgchildren.UpdaterBuilds an updater of typeIOrgchildrenforUiAgent.smartUpdate(Locator, SmartUpdater).
-
Field Summary
Fields Modifier and Type Field Description static IOrgchildrenDEFAULTConstant 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.StringgetHflex()Return horizontal flex hint of this component.default intgetItemCount()default java.util.Collection<IOrgitem>getItems()default java.lang.StringgetWidgetClass()Returns the client widget class.default java.lang.StringgetWidth()Returns the width of the component.static IOrgchildrenof(java.lang.Iterable<? extends IOrgitem> children)Returns the instance with the givenIOrgitemchildren.static IOrgchildrenof(IOrgitem... children)Returns the instance with the givenIOrgitemchildren.static IOrgchildrenofId(java.lang.String id)Returns the instance with the given id.default IOrgchildrenwithHflex(java.lang.String hflex)To control the size of Organigram related components, please refer toIOrganigramandIOrgiteminstead.default IOrgchildrenwithWidth(java.lang.String width)To control the size of Organigram related components, please refer toIOrganigramandIOrgiteminstead.-
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, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final IOrgchildren DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zkmax.layout.Orgchildren"- Specified by:
getWidgetClassin interfaceIComponent<IOrgchildren>- Returns:
-
getWidth
@Derived @Nullable default java.lang.String getWidth()
Description copied from interface:IHtmlBasedComponentReturns the width of the component. If not specified,nullis assumed.Default:
null- Specified by:
getWidthin interfaceIHtmlBasedComponent<IOrgchildren>
-
withWidth
default IOrgchildren withWidth(@Nullable java.lang.String width)
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
@Derived @Nullable default java.lang.String getHflex()
Description copied from interface:IHtmlBasedComponentReturn horizontal flex hint of this component.Default:
null- Specified by:
getHflexin interfaceIHtmlBasedComponent<IOrgchildren>
-
withHflex
default IOrgchildren withHflex(@Nullable java.lang.String hflex)
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
@Lazy default java.util.Collection<IOrgitem> getItems()
-
of
static IOrgchildren of(java.lang.Iterable<? extends IOrgitem> children)
Returns the instance with the givenIOrgitemchildren.- Parameters:
children- The children ofIOrgitem
-
of
static IOrgchildren of(IOrgitem... children)
Returns the instance with the givenIOrgitemchildren.- Parameters:
children- The children ofIOrgitem
-
ofId
static IOrgchildren ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
-