RFR: 8353599: TabPaneSkin: add 'menuGraphicFactory' property
Michael Strauß
mstrauss at openjdk.org
Wed Apr 16 20:44:49 UTC 2025
On Wed, 16 Apr 2025 20:10:56 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> > default factory should not be a `null` value.
>
> oh, I see. I think it makes the life easier, since there is no need to publish the pointer to the deficient `DEFAULT_FACTORY`.
>
> This property can be qualified with "override" to make it clearer (though longer).
>
> `menyGraphicFactoryOverrideProperty`
On the other hand, if you have a `DEFAULT_FACTORY`, you also have an explicit API element to explain the behavior of the default factory, instead of rolling the documentation into `menuGraphicFactory`.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1773#issuecomment-2810722796
More information about the openjfx-dev
mailing list