Package org.zkoss.stateless.sul
Interface IPortalchildren
-
- All Superinterfaces:
IChildable<IPortalchildren,IPanel>,IComponent<IPortalchildren>,IHtmlBasedComponent<IPortalchildren>,IXulElement<IPortalchildren>
public interface IPortalchildren extends IXulElement<IPortalchildren>, IChildable<IPortalchildren,IPanel>
ImmutablePortalchildrencomponentThe column of Portallayout.
Child of Portalchildren can only be Panel.- Author:
- katherine
- See Also:
Portalchildren
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIPortalchildren.BuilderBuilds instances of typeIPortalchildren.static classIPortalchildren.UpdaterBuilds an updater of typeIPortalchildrenforUiAgent.smartUpdate(Locator, SmartUpdater).
-
Field Summary
Fields Modifier and Type Field Description static IPortalchildrenDEFAULTConstant for default attributes of this immutable component.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetTitle()Returns the title of this portalchildren.default java.lang.StringgetWidgetClass()Returns the client widget class.default booleanisCounterVisible()Returns whether the counter is visible.static IPortalchildrenof(java.lang.Iterable<? extends IPanel> children)Returns the instance with the givenIPanelchildren.static IPortalchildrenof(IPanel... children)Returns the instance with the givenIPanelchildren.static IPortalchildrenofId(java.lang.String id)Returns the instance with the given id.static IPortalchildrenofSize(java.lang.String width, java.lang.String height)Returns the instance with the given size, width and height.IPortalchildrenwithCounterVisible(boolean counterVisible)Returns a copy ofthisimmutable component with the specifiedcounterVisible.IPortalchildrenwithTitle(java.lang.String title)Returns a copy ofthisimmutable component with the specifiedtitle.-
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 IPortalchildren DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zkmax.layout.Portalchildren"- Specified by:
getWidgetClassin interfaceIComponent<IPortalchildren>
-
getTitle
@Nullable java.lang.String getTitle()
Returns the title of this portalchildren.nullmeans no title.Default:
null.
-
withTitle
IPortalchildren withTitle(@Nullable java.lang.String title)
Returns a copy ofthisimmutable component with the specifiedtitle.Sets the title of this portalchildren.
nullmeans no title.- Parameters:
title- The title of the component.Default:
null.- Returns:
- A modified copy of the
thisobject
-
isCounterVisible
default boolean isCounterVisible()
Returns whether the counter is visible. Meaningful only ifgetTitle()is notnullor not empty.Default:
true.
-
withCounterVisible
IPortalchildren withCounterVisible(boolean counterVisible)
Returns a copy ofthisimmutable component with the specifiedcounterVisible.Sets whether the counter is visible. Meaningful only if
getTitle()is notnullor not empty.- Parameters:
counterVisible- The title of the component.Default:
true.- Returns:
- A modified copy of the
thisobject
-
of
static IPortalchildren of(java.lang.Iterable<? extends IPanel> children)
Returns the instance with the givenIPanelchildren.- Parameters:
children- The children ofIPanel
-
of
static IPortalchildren of(IPanel... children)
Returns the instance with the givenIPanelchildren.- Parameters:
children- The children ofIPanel
-
ofSize
static IPortalchildren 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
-
ofId
static IPortalchildren ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
-