Example usage for Java javax.swing.tree TreePath fields, constructors, methods, implement or subclass
The text is from its open source code.
TreePath(Object[] path) Creates a TreePath from an array. | |
TreePath(Object lastPathComponent) Creates a TreePath containing a single element. |
boolean | equals(Object o) Compares this TreePath to the specified object. |
Object | getLastPathComponent() Returns the last element of this path. |
TreePath | getParentPath() Returns the TreePath of the parent. |
Object[] | getPath() Returns an ordered array of the elements of this TreePath . |
Object | getPathComponent(int index) Returns the path element at the specified index. |
int | getPathCount() Returns the number of elements in the path. |
boolean | isDescendant(TreePath aTreePath) Returns true if aTreePath is a descendant of this TreePath . |
TreePath | pathByAddingChild(Object child) Returns a new path containing all the elements of this path plus child . |
String | toString() Returns a string that displays and identifies this object's properties. |