Example usage for Java javax.swing.tree TreeModel fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addTreeModelListener(TreeModelListener l) Adds a listener for the TreeModelEvent posted after the tree changes. |
Object | getChild(Object parent, int index) Returns the child of parent at index index in the parent's child array. |
int | getChildCount(Object parent) Returns the number of children of parent . |
int | getIndexOfChild(Object parent, Object child) Returns the index of child in parent. |
Object | getRoot() Returns the root of the tree. |
boolean | isLeaf(Object node) Returns true if node is a leaf. |
void | valueForPathChanged(TreePath path, Object newValue) Messaged when the user has altered the value for the item identified by path to newValue . |