The following is the basic syntax of the tree tag :
<TREE name= name>
where name identifies the tree programmatically.
The tree tag can be expanded with the following elements:
<TREE name=name> <LOCATION>location</LOCATION> <SIZE>size</SIZE> <DATACLASS>class_name</DATACLASS> <ATTRIBUTE>attribute_name</ATTRIBUTE> <ROOT></ROOT> <DOUBLCLICK>class_name</DOUBLECLICK> <FLYOVER>helptext</FLYOVER> <HELPALIAS>component_name</HELPALIAS> </TREE> | ||
ATTRIBUTE | VALUE | DESCRIPTION |
<LOCATION> | location | Expresses the
x- and y-coordinates of the panel's location from the top left corner in logical
units. This tag is required. |
<SIZE> | size | Expresses the width
and height, respectively, of the component in logical units. This tag is required. |
<DATACLASS> | class_name | Supplies the data for the tree, using the DataBean interface. |
<ATTRIBUTE> | attribute_name | Supplies
the data for the tree. The tag must be present if the dataclass tag is used.
|
<ROOT> | See the root tag. | |
<DOUBLECLICK> | class_name | Notifies the listener class when the user double-clicks on an item in the tree, using the DoubleClickListener interface. |
<FLYOVER> | helptext | Should be displayed when context help is requested for this component. Helptext defines the key for loading the text string from the resource bundle. If the string is not found, the helptext string will appear as it does in the Panel Definition Markup Language (PDML) source file. |
<HELPALIAS> | component_name | Should be displayed when context help is requested for this component. |
At this time, user-modifiable trees are not supported,
nor are selection gettors/settors.