West"

From Documentation
m
Line 6: Line 6:
 
*Java API: <javadoc>org.zkoss.zul.West</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.West</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.layout.West</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.layout.West</javadoc>
*Style Guide: [http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Borderlayout/Default_(West) West]
+
*Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Borderlayout/Default_(West)|West]]
  
 
= Employment/Purpose =
 
= Employment/Purpose =

Revision as of 08:12, 19 January 2011

West

Employment/Purpose

A west region of a border layout and only allows one component as its child.

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-borde 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 borde 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

Last Update : 2011/01/19


Version Date Content
     



Last Update : 2011/01/19

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