Example usage for Java javafx.scene.control MenuItem fields, constructors, methods, implement or subclass
The text is from its open source code.
MenuItem(String text) Constructs a MenuItem and sets the display text with the specified text | |
MenuItem(String text, Node graphic) Constructor s MenuItem and sets the display text with the specified text and sets the graphic Node to the given node. | |
MenuItem() Constructs a MenuItem with no display text. |
BooleanProperty | disableProperty() |
String | getId() |
String | getText() |
ObjectProperty | onActionProperty() |
void | setAccelerator(KeyCombination value) |
void | setDisable(boolean value) |
void | setGraphic(Node value) |
void | setId(String value) |
void | setMnemonicParsing(boolean value) |
void | setOnAction(EventHandler |
void | setOnMenuValidation(EventHandler |
void | setStyle(String value) |
void | setText(String value) |
void | setVisible(boolean value) |