Example usage for Java javafx.scene.control Menu fields, constructors, methods, implement or subclass
The text is from its open source code.
Menu(String text) Constructs a Menu and sets the display text with the specified text. | |
Menu() Constructs a Menu with an empty string for its display text. |
ObservableList | getItems() The items to show within this menu. |
EventHandler | getOnHidden() |
EventHandler | getOnShowing() |
EventHandler | getOnShown() |
void | hide() Hides the ContextMenu if it was previously showing, and any showing submenus. |
boolean | isShowing() |
void | setDisable(boolean value) |
void | setMnemonicParsing(boolean value) |
void | setOnHidden(EventHandler |
void | setOnHiding(EventHandler |
void | setOnShowing(EventHandler |
void | setOnShown(EventHandler |
void | show() If the Menu is not disabled and the ContextMenu is not already showing, then this will cause the ContextMenu to be shown. |
ReadOnlyBooleanProperty | showingProperty() |
String | toString() |