Package org.zkoss.stateless.sul
Interface ICardlayout<I extends IAnyGroup>
- All Superinterfaces:
IAnyGroup<ICardlayout<I>>,IChildable<ICardlayout<I>,,I> IComponent<ICardlayout<I>>,IHtmlBasedComponent<ICardlayout<I>>,IXulElement<ICardlayout<I>>
public interface ICardlayout<I extends IAnyGroup>
extends IXulElement<ICardlayout<I>>, IChildable<ICardlayout<I>,I>, IAnyGroup<ICardlayout<I>>
Immutable
Cardlayout component
A layout allow end user change view like change card.
- Author:
- katherine
- See Also:
-
Cardlayout
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classICardlayout.Builder<I extends IAnyGroup>Builds instances of typeICardlayout.static enumSpecifies the orient ofICardlayoutcomponentstatic classBuilds an updater of typeICardlayoutforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ICardlayout<IAnyGroup>Constant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the orient.default StringReturns the client widget class.static <I extends IAnyGroup>
ICardlayout<I>of(I... children) Returns the instance with the given any group children.static <I extends IAnyGroup>
ICardlayout<I>Returns the instance with the given any group children.static <I extends IAnyGroup>
ICardlayout<I>Returns the instance with the given id.static <I extends IAnyGroup>
ICardlayout<I>ofOrient(ICardlayout.Orient orient) Returns the instance with the given orient.static <I extends IAnyGroup>
ICardlayout<I>Returns the instance with the given size, width and heightstatic <I extends IAnyGroup>
ICardlayout<I>Returns the instance with the given vflex.withOrient(String orient) Returns a copy ofthisimmutable component with the specifiedorient.default ICardlayout<I>withOrient(ICardlayout.Orient orient) Returns a copy ofthisimmutable component with the specifiedorient.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.Cardlayout"- Specified by:
getWidgetClassin interfaceIComponent<I extends IAnyGroup>
-
getOrient
Returns the orient.Default:
"horizontal". -
withOrient
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient of component
- Parameters:
orient- Either"horizontal"or"vertical"Default:
"horizontal".- Returns:
- A modified copy of the
thisobject
-
withOrient
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient of component
- Parameters:
orient- TheorientDefault:
"horizontal".- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with the given any group children.- Parameters:
children- The children belong to any group- See Also:
-
of
Returns the instance with the given any group children.- Parameters:
children- The children belong to any group- See Also:
-
ofSize
Returns the instance with the given size, width and height- Parameters:
width- The width of the componentheight- The height of the component
-
ofVflex
Returns the instance with the given vflex.- Parameters:
vflex- The vertical flex hint.
-
ofOrient
Returns the instance with the given orient.- Parameters:
orient- The orient of this component.
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-