I'd love to see this feature in JavaFX. This would allow for much
cleaner (and better reusable) implementations of modern-looking UI which
I'd like to have for current and future JavaFX projects. In the current
state of JavaFX, you'd usually need to roll your own custom control
skins which is not very maintainable and typically not easy to get right.
An API for programmatically defining these transitions would be good for
completeness at some point, however it is probably better to do this as
a separate next step to keep the API surface minimal for now. The
current proposal adds a lot of value for little cost.
Am 17.07.2023 um 21:23 schrieb Michael Strauß:
Here's an updated summary of the proposed feature:
https://gist.github.com/mstr2/c72f8c9faa87de14926978f517a6018a
And here's the full implementation:
https://github.com/openjdk/jfx/pull/870
I'm interested in hearing from you whether you think this is a useful
feature and whether the proposed API is a good match for JavaFX.