trav(javafx.scene.Node, Direction) , traverseToFirst() and
traverseToLast() methods. These methods do the actual traversal - selecting the Node that's should be focused next and
focusing it. Also, listener calls are handled by top-most traversal engines.
select* methods can be used as well, but will *not* transfer the focus to the result, they are just query methods.
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public final Node | Returns: the new focus owner or null if none found (in that case old focus owner is still valid)The starting node to traverse from node, Direction the traversal direction dir, TraversalMethod the traversal method method)Traverse the focus to the next node in the specified direction. |
| public final Node | Returns: the first node or null if there's noneSet focus on the first Node in this context (if any) |
| public final Node | Returns: the last node or null if there's noneSet focus on the last Node in this context (if any) |
| TopMostTraversalEngine | back to summary |
|---|---|
| protected TopMostTraversalEngine() | |
| TopMostTraversalEngine | back to summary |
|---|---|
| pack-priv TopMostTraversalEngine(Algorithm algorithm) For testing purposes only! | |
| focusAndNotify | back to summary |
|---|---|
| private void focusAndNotify(Node newNode, TraversalMethod method) | |
| notifyTreeTraversedTo | back to summary |
|---|---|
| private void notifyTreeTraversedTo(Node newNode) | |
| trav | back to summary |
|---|---|
| public final Node trav(Node node, Direction dir, TraversalMethod method) Traverse the focus to the next node in the specified direction.
| |
| traverseToFirst | back to summary |
|---|---|
| public final Node traverseToFirst() Set focus on the first Node in this context (if any)
| |
| traverseToLast | back to summary |
|---|---|
| public final Node traverseToLast() Set focus on the last Node in this context (if any)
| |