Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8343646

Public InputMap (Incubator)

XMLWordPrintable

    • Fix Understood

      This is a separate ticket from JDK-8314968 Public InputMap (v3) for the purposes of incubation, containing parts that are required for the RichTextArea (InputMap, KeyBinding, etc.)

      Summary:

      - allow for customization of a control behavior by changing the existing or adding new key mappings
      - support dynamic modification of key mappings
      - allow for accessing the default functionality even when it was overwritten by the application
      - allow for reverting customization to the default implementation
      - guarantee priorities between the application and the skin event handlers and key mappings
      - allow for gradual migration of the existing controls to use the new InputMap
      - support stateful and stateless (fully static) behavior implementations

      For more detailed introduction, see
      https://github.com/andy-goryachev-oracle/Test/blob/main/doc/InputMap/InputMapV3.md

      NOTE 2024/11/19
      For the purpose of collecting application developers' feedback on the use of InputMap by application code only, we are temporarily removing SkinInputMap, BehaviorBase classes from the public API (while still using them internally).
      In consequence, the use case of custom component/skin development will not be incubated.

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: