Overview
JavaFX wrapper for the native AWT Menu class.
This is ideally suited for instances where native menus are required, such as for use with the SystemTray. For menus that you can associate with a org.jfxtras.stage.JFXStage or org.jfxtras.stage.JFXDialog please refer to Menu (not yet implemented).
Profile: desktop
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | items | NativeMenuEntry[] | ![]() | ![]() | ![]() |
A sequence of NativeMenuEntrys associated with this Menu. |
Inherited Variables
org.jfxtras.menu.NativeMenuItem
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | action | function():Void | ![]() | ![]() | ![]() |
Action that will get executed when this menu item is clicked. |
|
| public | text | String | ![]() | ![]() | ![]() |
The name of this menu item.
The name of this menu item. Corresponds to the label property on the native peer. |
Function Summary
- public getMenu() : java.awt.Menu
Inherited Functions
org.jfxtras.menu.NativeMenuItem
- public getMenuItem() : java.awt.MenuItem

