private abstract class TraversalEngine.BaseEngineContext extends java.lang.Object implements TraversalContext
| Modifier | Constructor and Description |
|---|---|
private |
BaseEngineContext() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addFocusableChildrenToList(java.util.List<Node> list,
Parent parent) |
java.util.List<Node> |
getAllTargetNodes()
Returns all traversable nodes in the context's (engine's) root
|
Bounds |
getSceneLayoutBounds(Node n)
Returns layout bounds of the Node in the relevant (Sub)Scene.
|
Node |
selectFirstInParent(Parent parent)
If the TraversalEngine does not want to handle traversal inside some inner child (Parent), it can use this method to apply
default algorithm inside that Parent and return the first Node
|
Node |
selectInSubtree(Parent subTreeRoot,
Node from,
Direction dir)
If the TraversalEngine does not want to handle traversal inside some inner child (Parent), it can use this method to apply
default algorithm inside that Parent and return the next Node within the Parent or null if there's no successor.
|
Node |
selectLastInParent(Parent parent)
If the TraversalEngine does not want to handle traversal inside some inner child (Parent), it can use this method to apply
default algorithm inside that Parent and return the last Node
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRootpublic java.util.List<Node> getAllTargetNodes()
getAllTargetNodes in interface TraversalContextpublic Bounds getSceneLayoutBounds(Node n)
TraversalContextgetSceneLayoutBounds in interface TraversalContextprivate void addFocusableChildrenToList(java.util.List<Node> list, Parent parent)
public Node selectFirstInParent(Parent parent)
TraversalContextselectFirstInParent in interface TraversalContextpublic Node selectLastInParent(Parent parent)
TraversalContextselectLastInParent in interface TraversalContextpublic Node selectInSubtree(Parent subTreeRoot, Node from, Direction dir)
TraversalContextselectInSubtree in interface TraversalContextsubTreeRoot - this will be used as a root of the traversal. Should be a Node that is still handled by the current TraversalEngine,
but it's content is not.