RFR: 8375588: Enhanced property metadata

Michael Strauß mstrauss at openjdk.org
Tue Jan 20 19:50:14 UTC 2026


On Tue, 20 Jan 2026 19:25:42 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> I always found this design to be weird and unnecessary - these should be the properties/constraints of the container or the layout, not something stored in the child nodes. What happens when the said child is moved from one container to another??
> 
> It might be just me, but I fail to see the value of this proposal.

This is not a good argument against this proposal, as JavaFX has always had attached properties and they're not going away. This just makes the existing concept more useful by using the `Property` API instead of simple getters and setters.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2015#issuecomment-3774647472


More information about the openjfx-dev mailing list