Basics
Guides
API Reference
Basics
Guides
API Reference
[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.
CustomMenuItem (object ContentObj = null)
Creates a new CustomMenuItem with optional content.
ContentObj is an optional Node to display.setContent (object ContentObj)
Sets the content node.
ContentObj is a Node to display.this object for chainingsetHideOnClick (bool Hide)
Sets whether the menu hides when this item is clicked.
Hide is a bool with true to hide on click.this object for chaining
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.