Package org.zkoss.stateless.sul
Interface IRow<I extends IAnyGroup>
- All Superinterfaces:
IChildable<IRow<I>,,I> IComponent<IRow<I>>,IComposite<IRow<I>,,IComponent> IHtmlBasedComponent<IRow<I>>,IRowBase<IRow<I>>,IXulElement<IRow<I>>
public interface IRow<I extends IAnyGroup>
extends IRowBase<IRow<I>>, IChildable<IRow<I>,I>, IComposite<IRow<I>,IComponent>
Immutable
Row component
A single row in a IRows element.
Each child of the IRow component is placed in each successive cell
of the grid. The row with the most child components determines the number
of columns in each row.
- Author:
- katherine
- See Also:
-
Row
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classIRow.Builder<I extends IAnyGroup>Builds instances of typeIRow.static classBuilds an updater of typeIRowforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionIDetailChild<? extends IDetailChild>Returns the child detail component.default StringgetHflex()Return horizontal flex hint of this component.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 id.withAllComponents(Iterable<? extends IComponent> elements) Copy the current immutable object with elements that replace the content ofchildren.withDetailChild(IDetailChild<? extends IDetailChild> detailChild) Returns a copy ofthisimmutable component with the specifieddetailChildclass name.default IRowdefault IRowMethods 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.IRowBase
getAlign, getIndex, getValign, isLoaded, isNowrap, withAlign, withIndex, withNowrap, withValignMethods 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.grid.Row"- 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
- 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
- Specified by:
withHflexin interfaceIHtmlBasedComponent<I extends IAnyGroup>- Parameters:
hflex- The horizontal flex hint.Default:
null- Returns:
- A modified copy of the
thisobject
-
getDetailChild
Returns the child detail component. -
withDetailChild
Returns a copy ofthisimmutable component with the specifieddetailChildclass name.Sets the detail child (EE only)
- Parameters:
detailChild- The detail childDefault:
null.- Returns:
- A modified copy of the
thisobject
-
withAllComponents
Description copied from interface:ICompositeCopy the current immutable object with elements that replace the content ofchildren. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Specified by:
withAllComponentsin interfaceIComposite<IRow<I extends IAnyGroup>,IComponent> - Parameters:
elements- An iterable of children elements to set- Returns:
- A modified copy of
thisobject
-
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:
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-