Constructs a Menu and sets the display text with the specified text.
Constructs a Menu and sets the display text with the specified text and sets the graphic Node to the given node.
Registers an event handler to this MenuItem.
Registers an event handler to this MenuItem.
Construct an event dispatch chain for this target.
Construct an event dispatch chain for this target.
JavaFX object to be wrapped.
JavaFX object to be wrapped.
Fires some kind of event.
Fires some kind of event.
Hides the ContextMenu if it was previously showing, and any showing submenus.
The items to show within this menu.
Sets the menu items, replacing the prior content.
Sets the menu items, replacing the prior content. If you want append to current content, use add
or
similar.
Menu items to replace prior content.
MnemonicParsing property to enable/disable text parsing.
MnemonicParsing property to enable/disable text parsing.
The event handler that is associated with invocation of an accelerator for a MenuItem.
The event handler that is associated with invocation of an accelerator for a MenuItem. This can happen when a key sequence for an accelerator is pressed. The event handler is also invoked when onShowing event handler is called.
2.2
Returns an observable map of properties on this menu item for use primarily by application developers.
Returns an observable map of properties on this menu item for use primarily by application developers.
Unregisters a previously registered event handler from this MenuItem.
Unregisters a previously registered event handler from this MenuItem.
If the Menu is not disabled and the ContextMenu is not already showing, then this will cause the ContextMenu to be shown.
Gets the value of the property showing.
Returns a previously set Object property, or null if no such property has been set using the setUserData(java.
Returns a previously set Object property, or null if no such property has been set using the setUserData(java.lang.Object) method.
Wraps http://docs.oracle.com/javafx/2/api/javafx/scene/control/Menu.html.