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>
Immutable
Portalchildren component
The column of Portallayout.
Child of Portalchildren can only be Panel.
- Author:
- katherine
- See Also:
-
Portalchildren
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIPortalchildren.static classBuilds an updater of typeIPortalchildrenforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IPortalchildrenConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()Returns the title of this portalchildren.default StringReturns the client widget class.default booleanReturns whether the counter is visible.static IPortalchildrenReturns the instance with the givenIPanelchildren.static IPortalchildrenReturns the instance with the givenIPanelchildren.static IPortalchildrenReturns the instance with the given id.static IPortalchildrenReturns the instance with the given size, width and height.withCounterVisible(boolean counterVisible) Returns a copy ofthisimmutable component with the specifiedcounterVisible.Returns a copy ofthisimmutable component with the specifiedtitle.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.Portalchildren"- Specified by:
getWidgetClassin interfaceIComponent<IPortalchildren>
-
getTitle
Returns the title of this portalchildren.nullmeans no title.Default:
null. -
withTitle
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
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
Returns the instance with the givenIPanelchildren.- Parameters:
children- The children ofIPanel
-
of
Returns the instance with the givenIPanelchildren.- Parameters:
children- The children ofIPanel
-
ofSize
Returns the instance with the given size, width and height.- Parameters:
width- The width of the componentheight- The height of the component
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-