Package org.zkoss.stateless.sul
Interface ITreerow
- All Superinterfaces:
IChildable<ITreerow,,ITreecell<IAnyGroup>> IComponent<ITreerow>,IHtmlBasedComponent<ITreerow>,ITreeitemComposite<ITreerow>,IXulElement<ITreerow>
public interface ITreerow
extends IXulElement<ITreerow>, IChildable<ITreerow,ITreecell<IAnyGroup>>, ITreeitemComposite<ITreerow>
Immutable
Treerow component- Author:
- jumperchen
- See Also:
-
Treerow
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeITreerow.static classBuilds an updater of typeITreerowforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetImage()Returns the image of the firstITreecellit contains, or null if no such treecell.default StringgetLabel()Returns the label of the firstITreecellit contains, or null if no such treecell.default StringReturns the client widget class.static ITreerowReturns the instance with the giventreecells.static ITreerowReturns the instance with aITreecellholding the given label.static ITreerowReturns the instance with aITreecellholding the given label and image.static ITreerowReturns the instance with the giventreecells.static ITreerowReturns the instance with aITreecellholding the given image.Returns a copy ofthisimmutable component with the specifiedimage.Returns a copy ofthisimmutable component with the specifiedlabel.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.Treerow"- Specified by:
getWidgetClassin interfaceIComponent<ITreerow>
-
getImage
Returns the image of the firstITreecellit contains, or null if no such treecell. -
withImage
Returns a copy ofthisimmutable component with the specifiedimage.Sets the image of the first
ITreecellit contains.Note: if no any treecell exists, this method creates one automatically.
- Parameters:
image- The image of the firstITreecellit contains.Default:
null.- Returns:
- A modified copy of the
thisobject
-
getLabel
Returns the label of the firstITreecellit contains, or null if no such treecell. -
withLabel
Returns a copy ofthisimmutable component with the specifiedlabel.Sets the label of the first
ITreecellit contains.Note: if no any treecell exists, this method creates one automatically.
- Parameters:
label- The label of the firstITreecellit contains.Default:
null.- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with aITreecellholding the given label.- Parameters:
label- The label of the firstITreecell
-
of
Returns the instance with aITreecellholding the given label and image. -
of
Returns the instance with the giventreecells.- Parameters:
children- The tree cells of the component
-
of
Returns the instance with the giventreecells.- Parameters:
children- The tree cells of the component
-
ofImage
Returns the instance with aITreecellholding the given image.- Parameters:
image- The image of the firstITreecell
-