Package org.zkoss.stateless.sul
Interface ITablelayout
- All Superinterfaces:
IAnyGroup<ITablelayout>,IChildable<ITablelayout,,ITablechildren> IComponent<ITablelayout>,IHtmlBasedComponent<ITablelayout>,IXulElement<ITablelayout>
public interface ITablelayout
extends IXulElement<ITablelayout>, IAnyGroup<ITablelayout>, IChildable<ITablelayout,ITablechildren>
Immutable
Tablelayout component
Tablelayout lay outs a container as an HTML table whose columns can be specified, and rowspan and colspan of its child can also be specified to create complex layouts within the table.
- Author:
- katherine
- See Also:
-
Tablelayout
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeITablelayout.static classBuilds an updater of typeITablelayoutforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ITablelayoutConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns number of rows to span this header.default StringReturns the client widget class.static ITablelayoutof(Iterable<? extends ITablechildren<IAnyGroup>> children) Returns the instance with the givenITablechildrenchildren.static ITablelayoutof(ITablechildren<IAnyGroup>... children) Returns the instance with the givenITablechildrenchildren.static ITablelayoutReturns the instance with the given id.withColumns(int columns) Returns a copy ofthisimmutable component with the specifiedcolumns.Methods 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, 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
-
Field Details
-
DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Details
-
getWidgetClass
Returns the client widget class.Default:
"zkmax.layout.Tablelayout"- Specified by:
getWidgetClassin interfaceIComponent<ITablelayout>
-
getColumns
default int getColumns()Returns number of rows to span this header. Default: 1. -
withColumns
Returns a copy ofthisimmutable component with the specifiedcolumns.Sets the number of rows to span this header.
- Parameters:
columns- The number of rows to span this header.Default:
1.- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with the givenITablechildrenchildren.- Parameters:
children- The children ofITablechildren
-
of
Returns the instance with the givenITablechildrenchildren.- Parameters:
children- The children ofITablechildren
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-