Spec-Zone.ru › OpenJavaFX 24

Package jfx.incubator.scene.control.input

package jfx.incubator.scene.control.input

Incubates a customization mechanism for the JavaFX Controls utilizing the InputMap.

The InputMap

  • allows for customization of a control behavior by changing the existing or adding new key mappings
  • supports dynamic modification of the key mappings
  • allows for accessing the default functionality even when it was overwritten by the application
  • allows for reverting customization to the default implementation
  • guarantees priorities between the application and the skin event handlers and key mappings
  • allows for gradual migration of the existing controls to use the InputMap

Incubating Feature. Will be removed in a future release.

Since:
24
Class Description
FunctionTag
A function tag is a public identifier of a method that can be mapped to a key binding by the control's InputMap.
InputMap
InputMap is a property of the Control class which enables customization by allowing creation of custom key mappings and event handlers.
KeyBinding
This immutable class represents a combination of keys which are used in key mappings.
KeyBinding.Builder
A builder for KeyBinding objects.

Report a bug or suggest an enhancement
Copyright © 2008, 2025, Oracle and/or its affiliates. All rights reserved.

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API