public class TreePath extends Object implements Serializable
Constructor and Description |
---|
TreePath(int... path) |
TreePath(List<Integer> pathList) |
TreePath(String string) |
TreePath(TreePath position,
int addendum) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getLength() |
DefaultMutableTreeNode |
getNode(DefaultMutableTreeNode tree)
Returns the node at the position of this NodePath applied to the parameter node.
|
String |
getParentPathString()
Deprecated.
|
int[] |
getPath() |
String |
getPathString() |
int |
hashCode() |
String |
toString() |
public TreePath(int... path)
public TreePath(TreePath position, int addendum)
public TreePath(String string) throws NumberFormatException
NumberFormatException
public int[] getPath()
public int getLength()
public String getPathString()
@Deprecated public String getParentPathString()
public DefaultMutableTreeNode getNode(DefaultMutableTreeNode tree)
tree
- The start node.Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.