file: CheckMenuItem.aus

class: CheckMenuItem

[12:7] extends: FxObj

Wraps JavaFX CheckMenuItem, a menu item with a checkmark toggle that tracks a selected/unselected state. When the user clicks the item, the checkmark toggles and the state is retained until changed again. Use setSelected() to set the initial state programmatically and getSelected() to read it. An onClick() callback fires each time the item is clicked.

Methods