|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Portallayout
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.
Available in ZK EE
Use Portallayout need assign width (either present or pixel) on every Portalchildren, or we cannot make sure about layout look.
Events:
onPortalMove.
Default Portallayout.getZclass()
: z-portal-layout.
Field Summary |
---|
Fields inherited from interface org.zkoss.zk.ui.Component |
---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
Method Summary | |
---|---|
java.lang.String |
getMaximizedMode()
Returns the mode of the maximized panel. |
Panel |
getPanel(int col,
int row)
Returns the specified pnael, or null if not available. |
int[] |
getPosition(Panel panel)
Returns an int array[col, row] that indicates the specified panel located within this portal layout. |
void |
setMaximizedMode(java.lang.String mode)
Sets the mode of the panel to maximize according to "whole" or "column". |
boolean |
setPanel(Panel panel,
int col,
int row)
Sets the specified panel via the position(col and row). |
Methods inherited from interface org.zkoss.zul.impl.api.XulElement |
---|
getAction, getContext, getCtrlKeys, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
---|
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
Methods inherited from interface org.zkoss.zk.ui.ext.Scope |
---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
Method Detail |
---|
Panel getPanel(int col, int row)
col
- which Portalchildren to fetch (starting at 0).row
- which Panel to fetch (starting at 0).boolean setPanel(Panel panel, int col, int row)
panel
- a new panel componentcol
- which Portalchildren to fetch (starting at 0).row
- which Panel to fetch (starting at 0).
int[] getPosition(Panel panel)
void setMaximizedMode(java.lang.String mode)
Default: "column"
mode
- the mode which could be one of "whole" and "column".java.lang.String getMaximizedMode()
Default: "mode"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |