file: CustomMenuItem.aus

class: CustomMenuItem

[12:7] extends: FxObj

Wraps JavaFX CustomMenuItem, a menu item that embeds an arbitrary JavaFX node as its content. This allows controls such as sliders, text fields, or any other node to appear inline within a menu. The setHideOnClick() method controls whether the menu closes when the user interacts with the embedded node, which is useful for controls that need repeated interaction.

Methods