Searched defs:TreePath (Results 1 - 2 of 2) sorted by relevance

/openjdk7/langtools/src/share/classes/com/sun/source/util/
H A DTreePath.java38 public class TreePath implements Iterable<Tree> { class in inherits:Iterable
43 public static TreePath getPath(CompilationUnitTree unit, Tree target) {
44 return getPath(new TreePath(unit), target);
48 * Gets a tree path for a tree node within a subtree identified by a TreePath object.
51 public static TreePath getPath(TreePath path, Tree target) {
57 TreePath path;
58 Result(TreePath path) {
62 class PathFinder extends TreePathScanner<TreePath,Tree> {
63 public TreePath sca
81 public TreePath(CompilationUnitTree t) { method in class:TreePath
88 public TreePath(TreePath p, Tree t) { method in class:TreePath
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreePath.java32 * {@code TreePath} represents an array of objects that uniquely
37 * {@code /tmp/foo/bar} could be represented by a {@code TreePath} as
38 * {@code new TreePath(new Object[] {"tmp", "foo", "bar"})}.
40 * {@code TreePath} is used extensively by {@code JTree} and related classes.
42 * {@code TreePath}s. When used with {@code JTree}, the elements of the
52 * TreePath selectedPath = tree.getSelectionPath();
59 * internally creates {@code TreePath}s at various points, it's
60 * generally not useful to subclass {@code TreePath} and use with
63 * While {@code TreePath} is serializable, a {@code
84 public class TreePath extend class in inherits:Object,Serializable
100 public TreePath(Object[] path) { method in class:TreePath
121 public TreePath(Object lastPathComponent) { method in class:TreePath
137 protected TreePath(TreePath parent, Object lastPathComponent) { method in class:TreePath
161 protected TreePath(Object[] path, int length) { method in class:TreePath
177 protected TreePath() { method in class:TreePath
[all...]

Completed in 152 milliseconds