Adds a listener for the TreeModelEvent posted after the tree changes. Returns the number of children of parent . Returns true if node is a leaf. Messaged when the user has altered the value for the item identified by path to newValue . Returns the root of the tree.
Returns null only if the tree has no nodes.
Returns the child of parent at index index in the parent's child array. Returns true if node is a leaf. It is possible for this method to return false even if node has no children. Messaged when the user has altered the value for the item identified by path to newValue . If newValue signifies a truly new value the model should post a treeNodesChanged event.