Package org.zkoss.stateless.sul
Interface ITreecols
-
- All Superinterfaces:
IChildable<ITreecols,ITreecol>,IComponent<ITreecols>,IHeadersElement<ITreecols>,IHtmlBasedComponent<ITreecols>,IMeshComposite<ITreecols>,ITreeComposite<ITreecols>,IXulElement<ITreecols>
public interface ITreecols extends IHeadersElement<ITreecols>, IChildable<ITreecols,ITreecol>, ITreeComposite<ITreecols>
ImmutableTreecolscomponent- Author:
- jumperchen
- See Also:
Treecols
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classITreecols.BuilderBuilds instances of typeITreecols.static classITreecols.UpdaterBuilds an updater of typeITreecolsforUiAgent.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 ITreecolsof(java.lang.Iterable<? extends ITreecol<IAnyGroup>> children)Returns the instance with the given tree columns which belong to this component.static ITreecolsof(ITreecol<IAnyGroup>... children)Returns the instance with the given tree columns which belong to this component.static ITreecolsofId(java.lang.String id)Returns the instance with the given id.default ITreecolswithHflex(java.lang.String hflex)default ITreecolswithWidth(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.IHeadersElement
isSizable, withSizable
-
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 ITreecols DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zul.sel.Treecols"- Specified by:
getWidgetClassin interfaceIComponent<ITreecols>
-
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<ITreecols>
-
withWidth
default ITreecols withWidth(@Nullable java.lang.String width)
- Specified by:
withWidthin interfaceIHtmlBasedComponent<ITreecols>- 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<ITreecols>
-
withHflex
default ITreecols withHflex(@Nullable java.lang.String hflex)
- Specified by:
withHflexin interfaceIHtmlBasedComponent<ITreecols>- Parameters:
hflex- The horizontal flex hint.Default:
null- Returns:
- A modified copy of the
thisobject
-
of
static ITreecols of(java.lang.Iterable<? extends ITreecol<IAnyGroup>> children)
Returns the instance with the given tree columns which belong to this component.- Parameters:
children- The tree columns of the component.
-
of
static ITreecols of(ITreecol<IAnyGroup>... children)
Returns the instance with the given tree columns which belong to this component.- Parameters:
children- The tree columns of the component.
-
ofId
static ITreecols ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
-