From Documentation

Jump to: navigation, search





Contents

Absolutechildren

Employment/Purpose

A container component that can contain any other ZK component and can only be contained as direct child of Absolutelayout component. It can be absolutely positioned within Absolutelayout component by either setting "x" and "y" attribute or calling setX(int) and setY(int) methods.

Example

ZKComRef Absolutelayout Example.png

<?component name="window" extends="window" border="normal" width="300px" height="300px"?>
<zk>
	<absolutelayout>
		<absolutechildren id="w1" x="60" y="100">
			<window title="X=60, Y=100">
			Window 1
			</window>
		</absolutechildren>
		<absolutechildren id="w2" x="160" y="200">
			<window title="X=60, Y=100">
			Window 2
			</window>
		</absolutechildren>
		<absolutechildren id="w3" x="260" y="300">
			<window title="X=60, Y=100">
			Window 3
			</window>
		</absolutechildren>
	</absolutelayout>
</zk>

Supported Events

Name
Event Type
None None

Supported Children

*All

Use Cases

Version Description Example Location
     

Version History

Last Update : 2011/10/4


Version Date Content
6.0.0 October 4, 2011 Add the new Absolutechildren component




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