A portallayout lays out a container which can have multiple columns, and each column may contain one or more panel. Portallayout provides a way to drag-and-drop panel into other portalchildren from the same portallayout.
Use Portallayout need assign width (either present or pixel) on every Portalchildren, or we cannot make sure about layout look.
<portallayout>
<portalchildren width="30%">
<panel height="150px" title="Google Tools">
<panelchildren>...</panelchildren>
</panel>
<panel height="300px" title="LabPixies Clock">
<panelchildren>...</panelchildren>
</panel>
</portalchildren>
<portalchildren width="30%">
<panel height="150px" title="Google Tools">
<panelchildren>...</panelchildren>
</panel>
</portalchildren>
</portallayout>
|
Name |
Event Type |
|---|---|
|
|
Event: org.zkoss.zkmax.event.PortalMoveEvent Represents an event caused by a portal being moved. |
|
Name |
Description |
Return Data Type |
|---|---|---|
|
getMoldSclass() |
|
String |
|
|
Returns the specified pnael, or null if not available. |
org.zkoss.zul.Panel |
|
|
Returns an int array[col, row] that indicates the specified panel located within this portal layout. |
int[] |
|
|
|
boolean |
|
|
|
|
|
|
|
|
|
|
Sets the specified panel via the position(col and row). |
boolean |