Orgnode"
From Documentation
Charlesqiu (talk | contribs) |
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 | + | 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= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! <center>Name</center> | ! <center>Name</center> | ||
! <center>Event Type</center> | ! <center>Event Type</center> | ||
Line 25: | Line 55: | ||
{{LastUpdated}} | {{LastUpdated}} | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- |
Latest revision as of 07:50, 14 January 2022
Orgnode
- Available for ZK:
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
None | None |
- Inherited Supported Events: LabelImageElement
Supported Children
*ALL
Version History
Version | Date | Content |
---|---|---|