Package org.zkoss.stateless.sul
Interface IRowchildren<I extends IAnyGroup>
- All Superinterfaces:
IComponent<IRowchildren<I>>,IHtmlBasedComponent<IRowchildren<I>>,ISingleChildable<IRowchildren<I>,,I> IXulElement<IRowchildren<I>>
public interface IRowchildren<I extends IAnyGroup>
extends IXulElement<IRowchildren<I>>, ISingleChildable<IRowchildren<I>,I>
Immutable
Rowchildren component
Rowchildren component is used for placing components inside the grid created by rowlayout component. It allows the user to specify the number of grid columns to occupy and whether to skip ahead a few columns.
- Author:
- katherine
- See Also:
-
Rowchildren
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classIRowchildren.Builder<I extends IAnyGroup>Builds instances of typeIRowchildren.static classBuilds an updater of typeIRowchildrenforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IRowchildren<IAnyGroup>Constant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns number of columns to occupydefault intReturns number of columns to skip aheaddefault StringReturns the client widget class.static <I extends IAnyGroup>
IRowchildren<I>of(I child) Returns the instance with the given child.static <I extends IAnyGroup>
IRowchildren<I>Returns the instance with the given id.withColspan(int colspan) Returns a copy ofthisimmutable component with the specifiedcolspan.withOffset(int offset) Returns a copy ofthisimmutable component with the specifiedoffset.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, 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.ISingleChildable
getChild, withChildMethods 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.Rowchildren"- Specified by:
getWidgetClassin interfaceIComponent<I extends IAnyGroup>
-
getColspan
default int getColspan()Returns number of columns to occupyDefault:
1 -
withColspan
Returns a copy ofthisimmutable component with the specifiedcolspan.Sets number of columns to occupy
- Parameters:
colspan- The number of columns to occupyDefault:
1.- Returns:
- A modified copy of the
thisobject
-
getOffset
default int getOffset()Returns number of columns to skip aheadDefault:
0 -
withOffset
Returns a copy ofthisimmutable component with the specifiedoffset.Sets number of columns to skip ahead
- Parameters:
offset- The number of columns to skip aheadDefault:
0.- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with the given child.- Parameters:
child- The children belong to any group- See Also:
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-