Package org.zkoss.stateless.sul
Interface IColumnlayout
-
- All Superinterfaces:
IAnyGroup<IColumnlayout>,IChildable<IColumnlayout,IColumnchildren<IAnyGroup>>,IComponent<IColumnlayout>,IHtmlBasedComponent<IColumnlayout>,IXulElement<IColumnlayout>
public interface IColumnlayout extends IXulElement<IColumnlayout>, IAnyGroup<IColumnlayout>, IChildable<IColumnlayout,IColumnchildren<IAnyGroup>>
ImmutableColumnlayoutcomponentA columnlayout lays out a container which can have multiple columns, and each column may contain one or more component.
Use Columnlayout need assign width (either present or pixel) on everyIColumnchildren, otherwise the result may depend on the browser and may not be as expected.- Author:
- katherine
- See Also:
Columnlayout
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIColumnlayout.BuilderBuilds instances of typeIColumnlayout.static classIColumnlayout.UpdaterBuilds an updater of typeIColumnlayoutforUiAgent.smartUpdate(Locator, SmartUpdater).
-
Field Summary
Fields Modifier and Type Field Description static IColumnlayoutDEFAULTConstant for default attributes of this immutable component.
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.StringgetWidgetClass()Returns the client widget class.static IColumnlayoutof(java.lang.Iterable<? extends IColumnchildren<IAnyGroup>> children)Returns the instance with the givenIColumnchildrenchildren.static IColumnlayoutof(IColumnchildren<IAnyGroup>... children)Returns the instance with the givenIColumnchildrenchildren.static IColumnlayoutofHflex(java.lang.String hflex)Returns the instance with the given hflexstatic IColumnlayoutofId(java.lang.String id)Returns the instance with the given id.static IColumnlayoutofSize(java.lang.String width, java.lang.String height)Returns the instance with the given size, width and height.-
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, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final IColumnlayout DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zkex.layout.Columnlayout"- Specified by:
getWidgetClassin interfaceIComponent<IColumnlayout>
-
of
static IColumnlayout of(java.lang.Iterable<? extends IColumnchildren<IAnyGroup>> children)
Returns the instance with the givenIColumnchildrenchildren.- Parameters:
children- The children ofIColumnchildren
-
of
static IColumnlayout of(IColumnchildren<IAnyGroup>... children)
Returns the instance with the givenIColumnchildrenchildren.- Parameters:
children- The children ofIColumnchildren
-
ofSize
static IColumnlayout ofSize(java.lang.String width, java.lang.String height)
Returns the instance with the given size, width and height.- Parameters:
width- The width of the componentheight- The height of the component
-
ofHflex
static IColumnlayout ofHflex(java.lang.String hflex)
Returns the instance with the given hflex- Parameters:
hflex- The horizontal flex hint
-
ofId
static IColumnlayout ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
-