TreeNode Properties

 

Property Name Getter/Setter Class Description
attributes getter/setter Object The associate array of the node's attributes.
branch getter/setter Boolean Whether the node is a branch or not.
childNodes getter/setter Array The array of the node's TreeNode childNodes.
firstChild getter Number The first childNode of the node.
lastChild getter Number The last childNode of the node.
numChildren getter Number The number of childNodes in the node.
iconFrame getter/setter Number The current frame in the timeline of the Movie Clip symbol used for a node's icon.
iconSymbolName getter/setter String The linkage identifier for an individual node.
nodeGraphic getter/setter String The linkage identifier for the graphic, if any, behind the node label.
index getter Number The position in the node's parent's childNodes array.
emptyIconName getter/setter String The linkage identifier for a branch node with no childNodes.
nextSibling getter TreeNode The TreeNode after the node in the parent's childNodes array.
nodeLevel getter Number The depth level within the tree hierarchy where the node is located.
nodeName getter/setter String The name of the node which is used as the nodeName when the node is turned to XML.
nodeValue getter/setter String The value of the node which is used as the nodeValue when the node is turned to XML.
open getter/setter Boolean Whether a node is open or not. advancedTree must be refreshed to see changes.
parentNode getter TreeNode The parent TreeNode of the node.
previousSibling getter TreeNode The TreeNode before the node in the parent's childNodes array.
selected getter/setter Boolean Whether the node is selected in the tree. advancedTree must be refreshed to see changes.
siblings getter Array The other TreeNodes present in the parent's childNodes array.
styleFormatName getter/setter String The name of the StyleFormat instance stored in the StyleManager that should be applied to the node. If this value is undefined, the StyleFormat instance applied to the tree will be used.
tree getter/setter Tree A reference to the advancedTree instance displaying the node.
x getter/setter Number The _x position of a node's icon.
y getter/setter Number The _y position of a node's icon.