Uses of Class
jfx.incubator.scene.control.input.KeyBinding
Packages that use KeyBinding
Package
Description
Incubates a customization mechanism for the JavaFX Controls utilizing the
InputMap
.-
Uses of KeyBinding in jfx.incubator.scene.control.input
Methods in jfx.incubator.scene.control.input that return KeyBindingModifier and TypeMethodDescriptionstatic KeyBinding
Creates a KeyBinding which corresponds to the key press with the specifiedKeyCode
and thealt
key modifier (option
on macOS).KeyBinding.Builder.build()
Creates a newKeyBinding
instance from the current settings.static KeyBinding
This utility method creates aKeyBinding
which corresponds to the key press with the specifiedKeyCode
and the macOS⌘ command
key modifier.static KeyBinding
Creates a KeyBinding which corresponds to the key press with the specifiedKeyCode
and thectrl
key modifier (control
on macOS).static KeyBinding
KeyBinding.controlShift
(KeyCode code) Creates a KeyBinding which corresponds to the key press with the specifiedKeyCode
and theshift
+ctrl
key modifier (control
on macOS).static KeyBinding
Creates aKeyBinding
which corresponds to the key press with the specifiedKeyCode
.static KeyBinding
Creates a KeyBinding which corresponds to the key press with the specifiedKeyCode
and theoption
key modifier on macOS.static KeyBinding
Creates a KeyBinding which corresponds to the key press with the specifiedKeyCode
and theshift
key modifier.static KeyBinding
KeyBinding.shiftOption
(KeyCode code) Creates a KeyBinding which corresponds to the key press with the specifiedKeyCode
and theshift
+option
key modifiers on macOS.static KeyBinding
KeyBinding.shiftShortcut
(KeyCode code) Creates a KeyBinding which corresponds to the key press with the specifiedKeyCode
and theshift
+ shortcut key modifier (⌘ command
on macOS,ctrl
elsewhere).static KeyBinding
Creates a KeyBinding which corresponds to the key press with the specifiedKeyCode
and the shortcut key modifier (⌘ command
on macOS,ctrl
elsewhere).KeyBinding.withNewKeyCode
(KeyCode newCode) Creates a new instance ofKeyBinding
with the newKeyCode
and the same set of the modifiers.Methods in jfx.incubator.scene.control.input that return types with arguments of type KeyBindingModifier and TypeMethodDescriptionInputMap.getKeyBindings()
Collects all mapped key bindings.InputMap.getKeyBindingsFor
(FunctionTag tag) Returns the set of key bindings mapped to the specified function tag.Methods in jfx.incubator.scene.control.input with parameters of type KeyBindingModifier and TypeMethodDescriptionvoid
InputMap.disableKeyBinding
(KeyBinding k) Disables the specified key binding.void
InputMap.register
(KeyBinding k, Runnable function) Registers a function for the given key binding.void
InputMap.registerKey
(KeyBinding k, FunctionTag tag) Link a key binding to the specified function tag.void
InputMap.restoreDefaultKeyBinding
(KeyBinding k) Restores the specified key binding to the value set by the skin, if any.