Package org.zkoss.stateless.sul
Interface IListcell<I extends IAnyGroup>
- All Superinterfaces:
IChildable<IListcell<I>,,I> IChildrenOfInputgroup<IListcell<I>>,IComponent<IListcell<I>>,IHtmlBasedComponent<IListcell<I>>,ILabelElement<IListcell<I>>,ILabelImageElement<IListcell<I>>,IXulElement<IListcell<I>>
public interface IListcell<I extends IAnyGroup>
extends ILabelImageElement<IListcell<I>>, IChildable<IListcell<I>,I>
Immutable
Listcell component- Author:
- katherine
- See Also:
-
Listcell
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classIListcell.Builder<I extends IAnyGroup>Builds instances of typeIListcell.static classBuilds an updater of typeIListcellforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetHflex()Return horizontal flex hint of this component.default intgetSpan()Returns number of columns to span this cell.default StringReturns the client widget class.default StringgetWidth()Returns the width of the component.of(I... children) Returns the instance with the given any group children.Returns the instance with the given any group children.Returns the instance with the given label.Returns the instance with the given label and image.Returns the instance with the given id.Returns the instance with the given image.default IListcellTo control the size of Foot related components, please refer toIListboxandIListheaderinstead.withSpan(int span) Returns a copy ofthisimmutable component with the specifiedspan.default IListcellTo control the size of Foot related components, please refer toIListboxandIListheaderinstead.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.ILabelElement
getLabel, withLabelMethods inherited from interface org.zkoss.stateless.sul.ILabelImageElement
getHoverImage, getIconSclass, getIconSclasses, getIconTooltip, getIconTooltips, getImage, isPreloadImage, withHoverImage, withIconSclass, withIconSclasses, withIconTooltip, withIconTooltips, withImage, withPreloadImageMethods 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.Listcell"- Specified by:
getWidgetClassin interfaceIComponent<I extends IAnyGroup>
-
getWidth
Description copied from interface:IHtmlBasedComponentReturns the width of the component. If not specified,nullis assumed.Default:
null- Specified by:
getWidthin interfaceIHtmlBasedComponent<I extends IAnyGroup>
-
withWidth
To control the size of Foot related components, please refer toIListboxandIListheaderinstead.- Specified by:
withWidthin interfaceIHtmlBasedComponent<I extends IAnyGroup>- 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<I extends IAnyGroup>
-
withHflex
To control the size of Foot related components, please refer toIListboxandIListheaderinstead.- Specified by:
withHflexin interfaceIHtmlBasedComponent<I extends IAnyGroup>- Parameters:
hflex- The horizontal flex hint.Default:
null- Returns:
- A modified copy of the
thisobject
-
getSpan
default int getSpan()Returns number of columns to span this cell. Default:1. -
withSpan
Returns a copy ofthisimmutable component with the specifiedspan.Sets number of columns to span this cell.
- Parameters:
span- Number of columns to span this cell.Default:
1.- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with the given label.- Parameters:
label- The label that the cell holds.
-
of
Returns the instance with the given label and image.- Parameters:
label- The label that the cell holds.image- The image that the cell holds.
-
of
Returns the instance with the given any group children.- Parameters:
children- The children belong to any group- See Also:
-
of
Returns the instance with the given any group children.- Parameters:
children- The children belong to any group- See Also:
-
ofImage
Returns the instance with the given image.- Parameters:
image- The image that the cell holds.
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-