Package org.zkoss.stateless.sul
Interface IRows
-
- All Superinterfaces:
IChildable<IRows,IRowBase>,IComponent<IRows>,IGridComposite<IRows>,IHtmlBasedComponent<IRows>,IMeshComposite<IRows>,IXulElement<IRows>
public interface IRows extends IXulElement<IRows>, IChildable<IRows,IRowBase>, IGridComposite<IRows>
ImmutableRowscomponentDefines the rows of a grid. Each child of a rows element should be a
IRowcomponent.- Author:
- katherine
- See Also:
Rows
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIRows.BuilderBuilds instances of typeIRows.static classIRows.UpdaterBuilds an updater of typeIRowsforUiAgent.smartUpdate(Locator, SmartUpdater).
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.StringgetHflex()Return horizontal flex hint of this component.default java.lang.StringgetWidgetClass()Returns the client widget class.default java.lang.StringgetWidth()Returns the width of the component.static IRowsof(java.lang.Iterable<? extends IRowBase> children)Returns the instance with the givenIRowBasechildren.static IRowsof(IRowBase... children)Returns the instance with the givenIRowBasechildren.static IRowsofId(java.lang.String id)Returns the instance with the given id.default IRowswithHflex(java.lang.String hflex)default IRowswithWidth(java.lang.String width)-
Methods inherited from interface org.zkoss.stateless.sul.IChildable
getChildren, withChildren, withChildren
-
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, withWidgetOverrides
-
Methods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final IRows DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zul.grid.Rows"- Specified by:
getWidgetClassin interfaceIComponent<IRows>
-
getWidth
@Derived @Nullable default java.lang.String getWidth()
Description copied from interface:IHtmlBasedComponentReturns the width of the component. If not specified,nullis assumed.Default:
null- Specified by:
getWidthin interfaceIHtmlBasedComponent<IRows>
-
withWidth
default IRows withWidth(@Nullable java.lang.String width)
- Specified by:
withWidthin interfaceIHtmlBasedComponent<IRows>- Parameters:
width- The width of the component.Default:
null- Returns:
- A modified copy of the
thisobject
-
getHflex
@Derived @Nullable default java.lang.String getHflex()
Description copied from interface:IHtmlBasedComponentReturn horizontal flex hint of this component.Default:
null- Specified by:
getHflexin interfaceIHtmlBasedComponent<IRows>
-
withHflex
default IRows withHflex(@Nullable java.lang.String hflex)
- Specified by:
withHflexin interfaceIHtmlBasedComponent<IRows>- Parameters:
hflex- The horizontal flex hint.Default:
null- Returns:
- A modified copy of the
thisobject
-
of
static IRows of(java.lang.Iterable<? extends IRowBase> children)
Returns the instance with the givenIRowBasechildren.- Parameters:
children- The children ofIRowBase
-
of
static IRows of(IRowBase... children)
Returns the instance with the givenIRowBasechildren.- Parameters:
children- The children ofIRowBase
-
ofId
static IRows ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
-