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 KeyBindingCreates a KeyBinding which corresponds to the key press with the specifiedKeyCodeand thealtkey modifier (optionon macOS).KeyBinding.Builder.build()Creates a newKeyBindinginstance from the current settings.static KeyBindingThis utility method creates aKeyBindingwhich corresponds to the key press with the specifiedKeyCodeand the macOS⌘ commandkey modifier.static KeyBindingCreates a KeyBinding which corresponds to the key press with the specifiedKeyCodeand thectrlkey modifier (controlon macOS).static KeyBindingKeyBinding.controlShift(KeyCode code) Creates a KeyBinding which corresponds to the key press with the specifiedKeyCodeand theshift+ctrlkey modifier (controlon macOS).static KeyBindingCreates aKeyBindingwhich corresponds to the key press with the specifiedKeyCode.static KeyBindingCreates a KeyBinding which corresponds to the key press with the specifiedKeyCodeand theoptionkey modifier on macOS.static KeyBindingCreates a KeyBinding which corresponds to the key press with the specifiedKeyCodeand theshiftkey modifier.static KeyBindingKeyBinding.shiftOption(KeyCode code) Creates a KeyBinding which corresponds to the key press with the specifiedKeyCodeand theshift+optionkey modifiers on macOS.static KeyBindingKeyBinding.shiftShortcut(KeyCode code) Creates a KeyBinding which corresponds to the key press with the specifiedKeyCodeand theshift+ shortcut key modifier (⌘ commandon macOS,ctrlelsewhere).static KeyBindingCreates a KeyBinding which corresponds to the key press with the specifiedKeyCodeand the shortcut key modifier (⌘ commandon macOS,ctrlelsewhere).KeyBinding.withNewKeyCode(KeyCode newCode) Creates a new instance ofKeyBindingwith the newKeyCodeand 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 TypeMethodDescriptionvoidInputMap.disableKeyBinding(KeyBinding k) Disables the specified key binding.voidInputMap.register(KeyBinding k, Runnable function) Registers a function for the given key binding.voidInputMap.registerKey(KeyBinding k, FunctionTag tag) Link a key binding to the specified function tag.voidInputMap.restoreDefaultKeyBinding(KeyBinding k) Restores the specified key binding to the value set by the skin, if any.