Panelchildren"

From Documentation
Line 3: Line 3:
 
= Panel Children =
 
= Panel Children =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#l9 Panel]
+
*Demonstration: [http://www.zkoss.org/zkdemo/window/panel Panel]
 
*Java API: <javadoc>org.zkoss.zul.Panelchildren</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Panelchildren</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.wnd.Panelchildren</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.wnd.Panelchildren</javadoc>
 +
*Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Panel | Panel]]
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 27: Line 28:
 
</source>
 
</source>
  
=Supported events=
+
=Supported Events=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
Line 41: Line 42:
 
  *ALL
 
  *ALL
  
=Use cases=
+
=Use Cases=
  
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"

Revision as of 06:37, 11 November 2010

Panel Children

Employment/Purpose

Panelchildren is used for Panel component to manage each child who will be shown in the body of Panel. Note that the size of Panelchildren is automatically calculated by Panel so both setWidth(String) and setHeight(String) are read-only.

Example

ZKComRef Panel Simple Examples.PNG

<panel height="100px" width="200px" style="margin-bottom:10px"
     title="Panel1" border="normal" maximizable="true"
     collapsible="true">
     <panelchildren>PanelContent1</panelchildren>
</panel>
<panel height="100px" width="200px" framable="true" title="Panel2"
     border="normal" maximizable="true" style="margin-bottom:10px">
     <panelchildren>PanelContent2</panelchildren>
</panel>

Supported Events

Name
Event Type
None None

Supported Children

*ALL

Use Cases

Version Description Example Location
5.0 Portallayout, panels and events http://www.zkoss.org/forum/listComment/10765

Version History

Version Date Content
     



Last Update : 2010/11/11

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.