|
||||||||||
| 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.
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 | |
|---|---|
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. |
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 |
| 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||