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>
ImmutableTreecols
component- Author:
- jumperchen
- See Also:
Treecols
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ITreecols.Builder
Builds instances of typeITreecols
.static class
ITreecols.Updater
Builds an updater of typeITreecols
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 ITreecols
of(java.lang.Iterable<? extends ITreecol<IAnyGroup>> children)
Returns the instance with the given tree columns which belong to this component.static ITreecols
of(ITreecol<IAnyGroup>... children)
Returns the instance with the given tree columns which belong to this component.static ITreecols
ofId(java.lang.String id)
Returns the instance with the given id.default ITreecols
withHflex(java.lang.String hflex)
default ITreecols
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.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:
getWidgetClass
in interfaceIComponent<ITreecols>
-
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<ITreecols>
-
withWidth
default ITreecols withWidth(@Nullable java.lang.String width)
- Specified by:
withWidth
in interfaceIHtmlBasedComponent<ITreecols>
- 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<ITreecols>
-
withHflex
default ITreecols withHflex(@Nullable java.lang.String hflex)
- Specified by:
withHflex
in interfaceIHtmlBasedComponent<ITreecols>
- Parameters:
hflex
- The horizontal flex hint.Default:
null
- Returns:
- A modified copy of the
this
object
-
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
-
-