Package org.zkoss.stateless.sul
Interface IRowBase<I extends IRowBase>
- All Superinterfaces:
IComponent<I>,IHtmlBasedComponent<I>,IXulElement<I>
- All Known Subinterfaces:
IGroup<I>,IGroupChild<I>,IGroupfoot<I>,IGroupfootChild<I>,IRow<I>
Immutable
Row component- Author:
- katherine
- See Also:
-
Row
-
Method Summary
Modifier and TypeMethodDescriptiongetAlign()Returns the horizontal alignment of the whole row.default intgetIndex()Return the index of this itemReturns the vertical alignment of the whole row.default booleanisLoaded()Return true whether all children of this row, if any, is loaded at clientdefault booleanisNowrap()Returns the nowrap.Returns a copy ofthisimmutable component with the specifiedalign.withIndex(int index) Returns a copy ofthisimmutable component with the specifiedindex.withNowrap(boolean nowrap) Returns a copy ofthisimmutable component with the specifiedalign.withValign(String valign) Returns a copy ofthisimmutable component with the specifiedalign.Methods inherited from interface org.zkoss.stateless.sul.IComponent
getAction, getActions, getClientAttributes, getId, getMold, getWidgetClass, 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
-
Method Details
-
getAlign
Returns the horizontal alignment of the whole row.Default: null (system default: left unless CSS specified).
-
withAlign
Returns a copy ofthisimmutable component with the specifiedalign.Sets the horizontal alignment of this whole row.
- Parameters:
align- The horizontal alignment of this row.- Returns:
- A modified copy of the
thisobject
-
getValign
Returns the vertical alignment of the whole row.Default: null (system default: top).
-
withValign
Returns a copy ofthisimmutable component with the specifiedalign.Sets the vertical alignment of the whole row.
- Parameters:
valign- The vertical alignment of this row.- Returns:
- A modified copy of the
thisobject
-
isNowrap
default boolean isNowrap()Returns the nowrap.Default:
false(system default: wrap). -
withNowrap
Returns a copy ofthisimmutable component with the specifiedalign.Sets the nowrap.
- Parameters:
nowrap- The nowrap of the text.- Returns:
- A modified copy of the
thisobject
-
isLoaded
default boolean isLoaded()Return true whether all children of this row, if any, is loaded at clientDefault:
false -
getIndex
default int getIndex()Return the index of this itemDefault:
-1, meaning not set -
withIndex
Returns a copy ofthisimmutable component with the specifiedindex.Sets the index of this component.
- Parameters:
index- The index of the child from its parent component.Default:
-1, meaning not set.- Returns:
- A modified copy of the
thisobject
-