RFR: 8338016: SplitMenuButton constructors should match MenuButton
Kevin Rushforth
kcr at openjdk.org
Wed Aug 14 23:59:52 UTC 2024
On Tue, 13 Aug 2024 22:27:58 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> Adding SplitMenuButton constructors matching MenuButton:
>
> - public SplitMenuButton(String text)
> - public SplitMenuButton(String text, Node graphic)
> - public SplitMenuButton(String text, Node graphic, MenuItem... items)
The API change looks good. Can you add tests for the new constructors in SplitMenuButtonTest, similar to those in MenuButtonTest?
-------------
PR Review: https://git.openjdk.org/jfx/pull/1535#pullrequestreview-2239346495
More information about the openjfx-dev
mailing list