|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.javafx.api.tree.JavaFXTreePath
public class JavaFXTreePath
A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top level UnitTree node.
| Constructor Summary | |
|---|---|
JavaFXTreePath(JavaFXTreePath p,
Tree t)
Creates a TreePath for a child node. |
|
JavaFXTreePath(UnitTree t)
Creates a TreePath for a root node. |
|
| Method Summary | |
|---|---|
UnitTree |
getCompilationUnit()
Get the compilation unit associated with this path. |
Tree |
getLeaf()
Get the leaf node for this path. |
JavaFXTreePath |
getParentPath()
Get the path for the enclosing node, or null if there is no enclosing node. |
static JavaFXTreePath |
getPath(JavaFXTreePath path,
Tree target)
Gets a tree path for a tree node within a subtree identified by a TreePath object. |
static JavaFXTreePath |
getPath(UnitTree unit,
Tree target)
Gets a tree path for a tree node within a compilation unit. |
java.util.Iterator<Tree> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaFXTreePath(UnitTree t)
public JavaFXTreePath(JavaFXTreePath p,
Tree t)
| Method Detail |
|---|
public static JavaFXTreePath getPath(UnitTree unit,
Tree target)
public static JavaFXTreePath getPath(JavaFXTreePath path,
Tree target)
public UnitTree getCompilationUnit()
public Tree getLeaf()
public JavaFXTreePath getParentPath()
public java.util.Iterator<Tree> iterator()
iterator in interface java.lang.Iterable<Tree>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||