Start change Tree tag

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>
ATTRIBUTEVALUEDESCRIPTION
<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.

SETTOR PROTOCOL: The settor method is always called first to identify which parent node child elements are to be supplied.
void set<attribute_name>TreeParent(String parent)
where parent is the name of the parent node for which children should be supplied when the gettor is called.


GETTOR PROTOCOL:
NodeDescriptor[] get<attribute_name>Children()
where the return value is an array of NodeDescriptor's, each of which describes a child element in the tree. If the node tags statically define the tree elements, the gettor is not necessary.

<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. End change


[ Legal | AS/400 Glossary ]