public class Nodes
extends java.lang.Object
InputMap into a Node. To add an InputMap
as a default behavior that can be overridden later, use addFallbackInputMap(Node, InputMap).
To add an InputMap that might override default behaviors, use addInputMap(Node, InputMap). To
remove an InputMap, use removeInputMap(Node, InputMap).| Constructor and Description |
|---|
Nodes() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFallbackInputMap(javafx.scene.Node node,
InputMap<?> im)
Adds the given input map to the end of the node's list of input maps, so that an event will be pattern-matched
against all other input maps currently "installed" in the node before being pattern-matched against the given
input map.
|
static void |
addInputMap(javafx.scene.Node node,
InputMap<?> im)
Adds the given input map to the start of the node's list of input maps, so that an event will be pattern-matched
against the given input map before being pattern-matched against any other input maps currently
"installed" in the node.
|
static void |
removeInputMap(javafx.scene.Node node,
InputMap<?> im)
Removes (or uninstalls) the given input map from the node.
|
public static void addInputMap(javafx.scene.Node node,
InputMap<?> im)
public static void addFallbackInputMap(javafx.scene.Node node,
InputMap<?> im)
public static void removeInputMap(javafx.scene.Node node,
InputMap<?> im)