Package org.zkoss.stateless.sul
Interface ITreechildren
- All Superinterfaces:
IChildable<ITreechildren,,ITreeitem> IComponent<ITreechildren>,IHtmlBasedComponent<ITreechildren>,IMeshComposite<ITreechildren>,ITreeComposite<ITreechildren>,ITreeitemComposite<ITreechildren>,IXulElement<ITreechildren>
public interface ITreechildren
extends IXulElement<ITreechildren>, IChildable<ITreechildren,ITreeitem>, ITreeComposite<ITreechildren>, ITreeitemComposite<ITreechildren>
Immutable
Treechildren component- Author:
- jumperchen
- See Also:
-
Treechildren
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeITreechildren.static classBuilds an updater of typeITreechildrenforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ITreechildrenConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns the number of childITreeitemincluding all descendants.default Collection<ITreeitem>getItems()Returns a readonly list of all descendingITreeitem(children's children and so on).default StringReturns the client widget class.static ITreechildrenReturns the instance with the given tree items which belong to this component.static ITreechildrenReturns the instance with the given tree items which belong to this component.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:
"zul.sel.Treechildren"- Specified by:
getWidgetClassin interfaceIComponent<ITreechildren>
-
getItemCount
@Lazy default int getItemCount()Returns the number of childITreeitemincluding all descendants. The same asgetItems().size().Note: the performance is no good.
-
getItems
Returns a readonly list of all descendingITreeitem(children's children and so on).Note: the performance of the size method of returned collection is no good.
-
of
Returns the instance with the given tree items which belong to this component.- Parameters:
children- The tree items of the component.
-
of
Returns the instance with the given tree items which belong to this component.- Parameters:
children- The tree items of the component.
-