On Wed, 21 Jan 2026 17:45:35 GMT, Andy Goryachev <[email protected]> wrote:
> What do you think of > > ``` > Set<AttachedProperty> props = AttachedProperty.from(node); > ``` > > without the Node having to implement `HasAttachedProperties` interface? Attached properties are not exclusive to `Node`, we already have an attached property for `Stage` in JFX 26 (`HeaderBar.prefButtonHeight`). In any case, having something along the lines of `AttachedProperty.from(node)` would entangle the implementation of `Node` (and other classes) with `AttachedProperty`. ------------- PR Comment: https://git.openjdk.org/jfx/pull/2015#issuecomment-3780988596
