[Request for Comments] Behavior / InputMap

Andy Goryachev andy.goryachev at oracle.com
Wed Oct 4 18:08:40 UTC 2023


This pull request https://github.com/openjdk/jfx/pull/1254 demonstrates migration to public InputMap for a subset of controls:


  *   ColorPicker
  *   ComboBox
  *   DatePicker
  *   PasswordField
  *   TextArea
  *   TextField

These controls were selected to migrate first based on them being

a) a part of Control, skin, and behavior hierarchies, and
b) representative of fairly complicated controls with a good number of key bindings assigned and re-assigned

This PR is currently in Draft mode due to dependency on the behavior tests PR https://github.com/openjdk/jfx/pull/1221 .

-andy




From: Andy Goryachev <andy.goryachev at oracle.com>
Date: Friday, September 29, 2023 at 15:44
To: openjfx-dev at openjdk.org <openjfx-dev at openjdk.org>
Subject: [Request for Comments] Behavior / InputMap
Dear fellow JavaFX developers:

For some time now, we’ve been working to identify missing features in JavaFX that hinder application development.  We’ve been working on adding some of the missing features (for which we’ll have a separate announcement), but I feel that engaging wider community is a rather important part of the process.

I would like to share with you one such missing feature - ability to extend behavior of the existing components (and make the task of creating new components easier) by adding a public InputMap and BehaviorBase.

Please find the actual proposal here
https://gist.github.com/andy-goryachev-oracle/294d8e4b3094fe16f8d55f6dd8b21c09

We are very much interested in your feedback.  Thank you in advance.

-andy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231004/87ab9a5e/attachment-0001.htm>


More information about the openjfx-dev mailing list