RFR: 8314968: Public InputMap [v3]
Andy Goryachev
angorya at openjdk.org
Wed Oct 25 23:08:07 UTC 2023
> Summary:
> - public InputMap, KeyBinding, BehaviorBase in javafx.scene.control.behavior package
> - InputMap allows for adding key mappings on control (user-defined) and behavior (defined by the skin) levels
> - two stage mapping: key binding -> function tag -> function; enables a wide range of control customization (in some cases even without subclassing behavior classes)
>
> For more detailed introduction, see
> https://gist.github.com/andy-goryachev-oracle/294d8e4b3094fe16f8d55f6dd8b21c09
>
> A number of Controls has been converted to use the new InputMap implementation:
>
> - ColorPicker
> - ComboBox
> - DatePicker
> - PasswordField
> - TextArea
> - TextField
>
> This PR requires https://github.com/openjdk/jfx/pull/1221 to go in first.
Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 140 commits:
- Merge remote-tracking branch 'origin/master' into 8314968.input.map
- Merge remote-tracking branch 'origin/master' into 8314968.input.map
- Merge remote-tracking branch 'origin/master' into 8314968.input.map
- Merge branch '8314906.behavior.test' into 8314968.input.map
- review comments
- Merge remote-tracking branch 'origin/master' into 8314968.input.map
- spelling
- Merge branch '8314906.behavior.test' into 8314968.input.map
- review comments
- Merge remote-tracking branch 'origin/master' into 8314906.behavior.test
- ... and 130 more: https://git.openjdk.org/jfx/compare/1672960d...d45eadad
-------------
Changes: https://git.openjdk.org/jfx/pull/1254/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1254&range=02
Stats: 3165 lines in 33 files changed: 2369 ins; 358 del; 438 mod
Patch: https://git.openjdk.org/jfx/pull/1254.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1254/head:pull/1254
PR: https://git.openjdk.org/jfx/pull/1254
More information about the openjfx-dev
mailing list