< prev index next >
modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/FocusTraversalInputMap.java
Print this page
@@ -22,10 +22,11 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.javafx.scene.control.behavior;
+import com.sun.javafx.scene.NodeHelper;
import com.sun.javafx.scene.traversal.Direction;
import javafx.event.EventTarget;
import javafx.scene.Node;
import com.sun.javafx.scene.control.inputmap.InputMap;
import com.sun.javafx.scene.control.inputmap.KeyBinding;
@@ -81,22 +82,22 @@
**************************************************************************/
/**
* Called by any of the BehaviorBase traverse methods to actually effect a
* traversal of the focus. The default behavior of this method is to simply
- * call impl_traverse on the given node, passing the given direction. A
+ * call NodeHelper.traverse on the given node, passing the given direction. A
* subclass may override this method.
*
- * @param node The node to call impl_traverse on
+ * @param node The node to call NodeHelper.traverse on
* @param dir The direction to traverse
*/
public static void traverse(final Node node, final Direction dir) {
if (node == null) {
throw new IllegalArgumentException("Attempting to traverse on a null Node. " +
"Most probably a KeyEvent has been fired with a null target specified.");
}
- node.impl_traverse(dir);
+ NodeHelper.traverse(node, dir);
}
/**
* Calls the focus traversal engine and indicates that traversal should
* go the next focusTraversable Node above the current one.
< prev index next >