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>
ImmutableRows
componentDefines the rows of a grid. Each child of a rows element should be a
IRow
component.- Author:
- katherine
- See Also:
Rows
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IRows.Builder
Builds instances of typeIRows
.static class
IRows.Updater
Builds an updater of typeIRows
forUiAgent.smartUpdate(Locator, SmartUpdater)
.
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getHflex()
Return horizontal flex hint of this component.default java.lang.String
getWidgetClass()
Returns the client widget class.default java.lang.String
getWidth()
Returns the width of the component.static IRows
of(java.lang.Iterable<? extends IRowBase> children)
Returns the instance with the givenIRowBase
children.static IRows
of(IRowBase... children)
Returns the instance with the givenIRowBase
children.static IRows
ofId(java.lang.String id)
Returns the instance with the given id.default IRows
withHflex(java.lang.String hflex)
default IRows
withWidth(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:
getWidgetClass
in interfaceIComponent<IRows>
-
getWidth
@Derived @Nullable default java.lang.String getWidth()
Description copied from interface:IHtmlBasedComponent
Returns the width of the component. If not specified,null
is assumed.Default:
null
- Specified by:
getWidth
in interfaceIHtmlBasedComponent<IRows>
-
withWidth
default IRows withWidth(@Nullable java.lang.String width)
- Specified by:
withWidth
in interfaceIHtmlBasedComponent<IRows>
- Parameters:
width
- The width of the component.Default:
null
- Returns:
- A modified copy of the
this
object
-
getHflex
@Derived @Nullable default java.lang.String getHflex()
Description copied from interface:IHtmlBasedComponent
Return horizontal flex hint of this component.Default:
null
- Specified by:
getHflex
in interfaceIHtmlBasedComponent<IRows>
-
withHflex
default IRows withHflex(@Nullable java.lang.String hflex)
- Specified by:
withHflex
in interfaceIHtmlBasedComponent<IRows>
- Parameters:
hflex
- The horizontal flex hint.Default:
null
- Returns:
- A modified copy of the
this
object
-
of
static IRows of(java.lang.Iterable<? extends IRowBase> children)
Returns the instance with the givenIRowBase
children.- Parameters:
children
- The children ofIRowBase
-
of
static IRows of(IRowBase... children)
Returns the instance with the givenIRowBase
children.- 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
-
-