Key binding customization proposal
John Hendrikx
john.hendrikx at gmail.com
Mon Nov 6 02:07:32 UTC 2023
This is an extension that builds on top of the Behavior API proposal
(see Public Behavior API proposal thread).
Summary:
Provide an opportunity to customize key bindings during construction
time of standard behaviors, without exposing the internal|InputMap|s.
The API is constructed in such a way to not block later enhancements to
allow|InputMap|s to be shared or made immutable.
Goals:
* Provide API to customize key bindings provided by default behaviors
* Provide a public class|KeyBinding|which is lighter weight, and immutable
* Integrate with Behavior proposal
* Keep internal details of|InputMap|implementation hidden (it is too
complex, and consumes far too much resources)
See the full proposal here:
https://gist.github.com/hjohn/e432f17452ff13511820487e3602b847
--John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231106/1e3ccbd4/attachment.htm>
More information about the openjfx-dev
mailing list