Prioritized event handlers
Andy Goryachev
andy.goryachev at oracle.com
Fri Oct 27 18:21:20 UTC 2023
Would it be possible to create a proposal in the JEP format outlining the proposed public API?
Thank you
-andy
From: openjfx-dev <openjfx-dev-retn at openjdk.org> on behalf of Michael Strauß <michaelstrau2 at gmail.com>
Date: Monday, October 23, 2023 at 16:10
To: openjfx-dev <openjfx-dev at openjdk.org>
Subject: Prioritized event handlers
Hi Andy!
In a previous mail, I observed that a method like
`BehaviorBase.addHandlerLast` suggests to me that we're lacking core
tools in the JavaFX framework. In this case, we want to ensure that an
event handler is always invoked before (or after) other event
handlers.
One way to do that might be to support prioritized event handlers at
the core level, instead of creating new API that seems like a
workaround. I've created a proof of concept for prioritized event
handlers [0], which might be a moderate-effort but high-value addition
to JavaFX.
[0] https://github.com/openjdk/jfx/pull/1266
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231027/0c80acc9/attachment.htm>
More information about the openjfx-dev
mailing list