Package org.zkoss.stateless.sul
Interface IPortallayout
- All Superinterfaces:
IAnyGroup<IPortallayout>,IChildable<IPortallayout,,IPortalchildren> IComponent<IPortallayout>,IHtmlBasedComponent<IPortallayout>,IXulElement<IPortallayout>
public interface IPortallayout
extends IXulElement<IPortallayout>, IChildable<IPortallayout,IPortalchildren>, IAnyGroup<IPortallayout>
Immutable
Portallayout component
A portal layout lays out a container which can have multiple columns, and each column may contain one or more panel. Portal layout provides a way to drag-and-drop panel into other portalchildren from the same portal layout
Support @Action
| Name | Action Type |
|---|---|
| onPortalDrop | ActionData: PortalDropData
Represents an action after a portal being dropped and before a portal being moved. |
- Author:
- katherine
- See Also:
-
Portallayout
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIPortallayout.static enumSpecifies the maximized mode ofIPortallayoutcomponentstatic enumSpecifies the orient ofIPortallayoutcomponentstatic classBuilds an updater of typeIPortallayoutforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IPortallayoutConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the mode of the maximized panel.default StringReturns the orient.default StringReturns the client widget class.static IPortallayoutof(Iterable<? extends IPortalchildren> children) Returns the instance with the givenIPortalchildrenchildren.static IPortallayoutof(IPortalchildren... children) Returns the instance with the givenIPortalchildrenchildren.static IPortallayoutReturns the instance with the given id.static IPortallayoutReturns the instance with the given size, width and height.withMaximizedMode(String maximizedMode) Returns a copy ofthisimmutable component with the specifiedmaximizedMode.default IPortallayoutwithMaximizedMode(IPortallayout.MaximizedMode maximizedMode) Returns a copy ofthisimmutable component with the specifiedmaximizedMode.withOrient(String orient) Returns a copy ofthisimmutable component with the specifiedorient.default IPortallayoutwithOrient(IPortallayout.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.Portallayout"- Specified by:
getWidgetClassin interfaceIComponent<IPortallayout>
-
getMaximizedMode
Returns the mode of the maximized panel.Default:
"column" -
withMaximizedMode
Returns a copy ofthisimmutable component with the specifiedmaximizedMode.Sets the mode of the maximized panel
- Parameters:
maximizedMode- The mode of the maximized panel,"whole"and"column"Default:
"column".- Returns:
- A modified copy of the
thisobject
-
withMaximizedMode
Returns a copy ofthisimmutable component with the specifiedmaximizedMode.Sets the mode of the maximized panel
- Parameters:
maximizedMode- The mode of the maximized panel,"whole"and"column"Default:
"column".- Returns:
- A modified copy of the
thisobject
-
getOrient
Returns the orient.Default:
"vertical" -
withOrient
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient of component
- Parameters:
orient- Either"horizontal"or"vertical"Default:
"vertical".- Returns:
- A modified copy of the
thisobject
-
withOrient
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient of component
- Parameters:
orient- Either"horizontal"or"vertical"Default:
"vertical".- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with the givenIPortalchildrenchildren.- Parameters:
children- The children ofIPortalchildren
-
of
Returns the instance with the givenIPortalchildrenchildren.- Parameters:
children- The children ofIPortalchildren
-
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
-