Package org.zkoss.stateless.sul
Interface IHeadersElement<I extends IHeadersElement>
- All Superinterfaces:
IComponent<I>,IHtmlBasedComponent<I>,IXulElement<I>
A skeletal implementation for headers, the parent of
a group of
IHeaderElement.
Support @Action
| Name | Action Type |
|---|---|
| onColSize | ActionData: ColSizeData
Denotes user has resized one of the columns. |
- Author:
- jumperchen
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanReturns whether the width of the child column is sizable.withSizable(boolean sizable) Returns a copy ofthisimmutable component with the specifiedsizable.Methods inherited from interface org.zkoss.stateless.sul.IComponent
getAction, getActions, getClientAttributes, getId, getMold, getWidgetClass, 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
-
Method Details
-
isSizable
default boolean isSizable()Returns whether the width of the child column is sizable. -
withSizable
Returns a copy ofthisimmutable component with the specifiedsizable.Sets whether the width of the child column is sizable. If true, a user can drag the border between two columns (e.g.,
IColumn) to change the widths of adjacent columns.- Parameters:
sizable- Whether the width of the child column is sizable.Default:
false.- Returns:
- A modified copy of the
thisobject
-