APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.scene.control.behavior

public Class FocusTraversalInputMap

extends Object
Class Inheritance
Imports
com.sun.javafx.scene.NodeHelper, com.sun.javafx.scene.traversal.Direction, .TraversalMethod, javafx.event.EventTarget, javafx.scene.Node, com.sun.javafx.scene.control.inputmap.InputMap, .KeyBinding, javafx.scene.input.KeyEvent, java.util.List

Field Summary

Modifier and TypeField and Description
private static final List<InputMap.Mapping<?>>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <N extends Node> InputMap<N>
public static InputMap.Mapping<?>[]
private static Node
public static void
traverse(final Node
The node to traverse on
node
,
final Direction
The direction to traverse
dir
,
TraversalMethod
The focus traversal method
method
)

Called by any of the BehaviorBase traverse methods to actually effect a traversal of the focus.

public static final void
traverseDown(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node below the current one.

public static final void
traverseLeft(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node left of the current one.

public static final void
traverseNext(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node in the focus traversal cycle.

public static final void
traversePrevious(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the previous focusTraversable Node in the focus traversal cycle.

public static final void
traverseRight(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node right of the current one.

public static final void
traverseUp(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node above the current one.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

MAPPINGSback to summary
private static final List<InputMap.Mapping<?>> MAPPINGS

Constructor Detail

FocusTraversalInputMapback to summary
private FocusTraversalInputMap()

Method Detail

createInputMapback to summary
public static <N extends Node> InputMap<N> createInputMap(N node)
getFocusTraversalMappingsback to summary
public static InputMap.Mapping<?>[] getFocusTraversalMappings()
getNodeback to summary
private static Node getNode(KeyEvent e)
traverseback to summary
public static void traverse(final Node node, final Direction dir, TraversalMethod method)

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 traverse on the given node, passing the given direction. A subclass may override this method.

Parameters
node:Node

The node to traverse on

dir:Direction

The direction to traverse

method:TraversalMethod

The focus traversal method

traverseDownback to summary
public static final void traverseDown(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node below the current one.

traverseLeftback to summary
public static final void traverseLeft(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node left of the current one.

traverseNextback to summary
public static final void traverseNext(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node in the focus traversal cycle.

traversePreviousback to summary
public static final void traversePrevious(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the previous focusTraversable Node in the focus traversal cycle.

traverseRightback to summary
public static final void traverseRight(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node right of the current one.

traverseUpback to summary
public static final void traverseUp(KeyEvent e)

Calls the focus traversal engine and indicates that traversal should go the next focusTraversable Node above the current one.