A graphical tree display element for viewing a hierarchy of objects.(c) SAP AG 2003-2006. All rights reserved. Gets or sets whether to animate transitions. Gets or sets the control styling glyph. Gets or sets the horizontal spacing between nodes. Gets or sets the nodes width. Gets or sets whether to draw orthogonal or straight lines. Gets or sets the tree drawing mode (2D|3D|SHADOW). Gets or sets the Id of the currently selected node. Gets or sets whether to show the root node. Gets or sets the vertical spacing between tree nodes. Gets the table of all tree nodes.The tree nodes table, indexed by node Id. Gets a tree node by Id.The Id of the tree node to get.The requested tree node. Gets the root tree node.The root tree node. Gets the root tree node.The root tree node. Inserts a new tree node.An object containing the new node's data.The parent node object. Paints a new tree, starting at the given root node.The root node object. Repaints the current tree. Resets the tree and clears the display. A TreeDraw node structure.The TDNode structure is made of the following members (all members are optional): <table class="BOTH"><tr><td class="H V">Name </td><td class=H>Type </td><td class=H>Description </td></tr><tr><td class=V>id </td><td>string </td><td>Unique node Id </td></tr><tr><td class=V>name </td><td>string </td><td>Display name </td></tr><tr><td class=V>hint </td><td>string </td><td>Tooltip hint </td></tr><tr><td class=V>shape </td><td>enum </td><td>Geometric shape (rect </td><td>round </td><td>oval) </td></tr><tr><td class=V>paint </td><td>enum </td><td>Paint mode (2D </td><td>3D </td><td>SHADOW) </td></tr><tr><td class=V>fill </td><td>rgb </td><td>Fill color </td></tr><tr><td class=V>stroke </td><td>rgb </td><td>Stroke color </td></tr><tr><td class=V>width </td><td>number </td><td>Node width in pixels </td></tr><tr><td class=V>height </td><td>number </td><td>Node height in pixels (not including hanging items) </td></tr><tr><td class=V>tstyle </td><td>string </td><td>Text style (css syntax) </td></tr><tr><td class=V>button </td><td>enum </td><td>Position of the expand/collapse button (left </td><td>right </td><td>none) </td></tr><tr><td class=V>collapsed </td><td>boolean </td><td>Indicates whether the node is collapsed </td></tr><tr><td class=V>unselectable </td><td>boolean </td><td>Indicates whether the node is unselectable </td></tr><tr><td class=V>toggleFunc </td><td>function </td><td>A drill-down toggle function for incremental tree building, invoked using: toggleFunc(node) </td></tr><tr><td class=V>hanging </td><td>object[] </td><td>An array of optional hanging items, each an object in the form: {name, link, bullet} </td></tr><tr><td class=V>context </td><td>object </td><td>Context object associated with the node </td></tr></table>