Orgnode"

From Documentation
m ((via JWB))
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{ZKDevelopersReferencePageHeader}}
 
= Orgnode =
 
= Orgnode =
  
 
*Java API: <javadoc>org.zkoss.zkmax.zul.Orgnode </javadoc>
 
*Java API: <javadoc>org.zkoss.zkmax.zul.Orgnode </javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zkmax.layout.Orgnode </javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zkmax.layout.Orgnode </javadoc>
 +
 +
{{ZK EE}}
 +
{{versionSince| 8.6.0}}
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Orgnode represents data in a Orgitem. Orgnode can contain any components in it, such as label, image, textbox etc.
+
Orgnode represents data in an Orgitem. Orgnode can contain any components in it, such as label, image, textbox etc.
 +
 
 +
= Example =
 +
 
 +
<source language="xml">
 +
<organigram width="600px">
 +
<orgchildren>
 +
<orgitem>
 +
<orgnode>
 +
<button label="Snapshot" onClick="camera.snapshot()"/>
 +
</orgnode>
 +
<orgchildren>
 +
<orgitem>
 +
<orgnode width="200px" label="Camera">
 +
<camera id="camera" onSnapshotUpload="image.setContent(event.media)"/>
 +
</orgnode>
 +
</orgitem>
 +
<orgitem>
 +
<orgnode width="200px" label="Image">
 +
<image id="image"/>
 +
</orgnode>
 +
</orgitem>
 +
</orgchildren>
 +
</orgitem>
 +
</orgchildren>
 +
</organigram>
 +
</source>
  
 
=Supported Events=
 
=Supported Events=
  
{| border="1" | width="100%"
+
{| class='wikitable' | width="100%"
 
! <center>Name</center>
 
! <center>Name</center>
 
! <center>Event Type</center>
 
! <center>Event Type</center>
Line 25: Line 55:
 
{{LastUpdated}}
 
{{LastUpdated}}
  
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-

Latest revision as of 07:50, 14 January 2022

Orgnode

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ee.png

Since 8.6.0

Employment/Purpose

Orgnode represents data in an Orgitem. Orgnode can contain any components in it, such as label, image, textbox etc.

Example

	<organigram width="600px">
		<orgchildren>
			<orgitem>
				<orgnode>
					<button label="Snapshot" onClick="camera.snapshot()"/>
				</orgnode>
				<orgchildren>
					<orgitem>
						<orgnode width="200px" label="Camera">
							<camera id="camera" onSnapshotUpload="image.setContent(event.media)"/>
						</orgnode>
					</orgitem>
					<orgitem>
						<orgnode width="200px" label="Image">
							<image id="image"/>
						</orgnode>
					</orgitem>
				</orgchildren>
			</orgitem>
		</orgchildren>
	</organigram>

Supported Events

Name
Event Type
None None

Supported Children

*ALL

Version History

Last Update : 2022/01/14


Version Date Content
     



Last Update : 2022/01/14

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