Overview
JavaFX wrapper for native AWT PopupMenus.
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | parent | Component | ![]() | ![]() | ![]() |
The parent component for this pop-up menu. |
Inherited Variables
org.jfxtras.menu.NativeMenu
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | items | NativeMenuEntry[] | ![]() | ![]() | ![]() |
A sequence of NativeMenuEntrys associated with this Menu. |
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 getPopupMenu() : java.awt.PopupMenu
- public show(origin: java.awt.Component, x: Integer, y: Integer) : Void
Inherited Functions
org.jfxtras.menu.NativeMenu
- public getMenu() : java.awt.Menu
org.jfxtras.menu.NativeMenuItem
- public getMenuItem() : java.awt.MenuItem

