Orgnode"
From Documentation
Charlesqiu (talk | contribs) (Created page with "= Orgnode = *Java API: <javadoc>org.zkoss.zkmax.zul.Orgnode </javadoc> *JavaScript API: <javadoc directory="jsdoc">zkmax.layout.Orgnode </javadoc>") |
m ((via JWB)) |
||
(8 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 = | ||
+ | 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= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! <center>Name</center> | ||
+ | ! <center>Event Type</center> | ||
+ | |- | ||
+ | | None | ||
+ | | None | ||
+ | |} | ||
+ | *Inherited Supported Events: [[ZK_Component_Reference/Base_Components/LabelImageElement#Supported_Events | LabelImageElement]] | ||
+ | |||
+ | =Supported Children= | ||
+ | |||
+ | *ALL | ||
+ | |||
+ | =Version History= | ||
+ | {{LastUpdated}} | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | {{ZKComponentReferencePageFooter}} |
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 |
---|---|---|