|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.javafx.api.tree.JavaFXTreeScanner<R,P>
com.sun.javafx.api.tree.JavaFXTreePathScanner<R,P>
public class JavaFXTreePathScanner<R,P>
A TreeVisitor that visits all the child tree nodes, and provides support for maintaining a path for the parent nodes. To visit nodes of a particular type, just override the corresponding visitorXYZ method. Inside your method, call super.visitXYZ to visit descendant nodes.
| Constructor Summary | |
|---|---|
JavaFXTreePathScanner()
|
|
| Method Summary | |
|---|---|
JavaFXTreePath |
getCurrentPath()
Get the current path for the node, as built up by the currently active set of scan calls. |
R |
scan(JavaFXTreePath path,
P p)
Scan a tree from a position identified by a TreePath. |
R |
scan(Tree tree,
P p)
Scan a single node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaFXTreePathScanner()
| Method Detail |
|---|
public R scan(JavaFXTreePath path,
P p)
public R scan(Tree tree,
P p)
scan in class JavaFXTreeScanner<R,P>public JavaFXTreePath getCurrentPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||