East"

From Documentation
Line 3: Line 3:
 
= East  =
 
= East  =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#l1 Borderlayout]  
+
*Demonstration: [http://www.zkoss.org/zkdemo/layout/border_layout Borderlayout]
 
*Java API: <javadoc>org.zkoss.zul.East</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.East</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.layout.East</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.layout.East</javadoc>
 +
*Style Guide: [http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Borderlayout/Default_(East) East]
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 14: Line 15:
 
= Example =
 
= Example =
  
[[Image:ZKComRef_South_Example.jpg]]  
+
[[Image:ZKCompRef_Borderlayout.jpg]]  
  
 
<source lang="xml" >
 
<source lang="xml" >
Line 55: Line 56:
 
</borderlayout></source>
 
</borderlayout></source>
  
 +
=Supported Events=
  
 
 
=Supported events=
 
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
Line 64: Line 63:
 
! <center>Event Type</center>
 
! <center>Event Type</center>
 
|-
 
|-
| <center><tt>OnOpen</tt></center>
+
| None
| <javadoc>org.zkoss.zk.ui.event.OpenEvent</javadoc>
+
| None
 
 
<tt>'''Description:''' </tt>When a layout is collapsed or opened by a user, the <tt>onOpen</tt> event is sent to the application.
 
 
 
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/LayoutRegion#Supported_Events | LayoutRegion]]
  
 
=Supported Children=
 
=Supported Children=
Line 75: Line 72:
 
  *ALL
 
  *ALL
  
=Use cases=
+
=Use Cases=
  
[[ZK_Component_Reference/Layouts/Borderlayout|Borderlayout]]
+
[[ZK_Component_Reference/Layouts/Borderlayout#Use_Cases|Borderlayout]]
  
 
=Version History=
 
=Version History=

Revision as of 08:26, 15 November 2010

East

Employment/Purpose

This component is a east region. The default class of CSS is specified "layout-region-east".


Example

ZKCompRef Borderlayout.jpg

<borderlayout height="500px">
	<north size="50%" border="0">
		<borderlayout>
			<west size="25%" border="none" flex="true">
				<div style="background:#B8D335">
					<label value="25%" style="color:white;font-size:50px" />
				</div>
			</west>
			<center border="none" flex="true">
				<div style="background:#E6D92C">
					<label value="25%" style="color:white;font-size:50px" />
				</div>
			</center>
			<east size="50%" border="none" flex="true">
				<label value="Here is a non-border" style="color:gray;font-size:30px" />
			</east>
		</borderlayout>
	</north>
	<center border="0">
		<borderlayout>
			<west size="30%" flex="true" border="0">
				<div style="background:#E6D92C">
					<label value="30%" style="color:white;font-size:50px" />
				</div>
			</west>
			<center>
				<label value="Here is a border" style="color:gray;font-size:30px" />
			</center>
			<east size="30%" flex="true" border="0">
				<div style="background:#B8D335">
					<label value="30%" style="color:white;font-size:50px" />
				</div>
			</east>
		</borderlayout>
	</center>
</borderlayout>

Supported Events

Name
Event Type
None None

Supported Children

*ALL

Use Cases

Borderlayout

Version History

Version Date Content
     



Last Update : 2010/11/15

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