| Modifier and Type | Method and Description |
|---|---|
| public ObjectProperty | |
| public BooleanProperty | |
| public void | |
| public void | |
| public KeyCombination | |
| public Node | |
| public String | |
| public EventHandler | |
| public String | |
| public ObjectProperty | |
| public StringProperty | |
| public boolean | |
| public boolean | |
| public boolean | |
| public BooleanProperty | |
| public ObjectProperty | |
| public void | |
| public void | |
| public void | setGraphic(Node value)
An optional graphic for the menu item This will normally be
an |
| public void | |
| public void | |
| public void | setOnAction(EventHandler<ActionEvent> value)
The action, which is invoked whenever the MenuItemBase is fired. |
| public void | |
| public void | |
| public StringProperty | |
| public BooleanProperty |
| acceleratorProperty | back to summary |
|---|---|
| public ObjectProperty | |
| disableProperty | back to summary |
|---|---|
| public BooleanProperty disableProperty() | |
| fire | back to summary |
|---|---|
| public void fire() Fires a new ActionEvent. | |
| fireValidation | back to summary |
|---|---|
| public void fireValidation() Fires when the accelerator for this MenuItem is invoked. | |
| getAccelerator | back to summary |
|---|---|
| public KeyCombination getAccelerator() | |
| getGraphic | back to summary |
|---|---|
| public Node getGraphic() | |
| getId | back to summary |
|---|---|
| public String getId() | |
| getOnAction | back to summary |
|---|---|
| public EventHandler | |
| getText | back to summary |
|---|---|
| public String getText() | |
| graphicProperty | back to summary |
|---|---|
| public ObjectProperty | |
| idProperty | back to summary |
|---|---|
| public StringProperty idProperty() | |
| isDisable | back to summary |
|---|---|
| public boolean isDisable() | |
| isMnemonicParsing | back to summary |
|---|---|
| public boolean isMnemonicParsing() | |
| isVisible | back to summary |
|---|---|
| public boolean isVisible() | |
| mnemonicParsingProperty | back to summary |
|---|---|
| public BooleanProperty mnemonicParsingProperty() | |
| onActionProperty | back to summary |
|---|---|
| public ObjectProperty | |
| setAccelerator | back to summary |
|---|---|
| public void setAccelerator(KeyCombination value) | |
| setDisable | back to summary |
|---|---|
| public void setDisable(boolean value) | |
| setGraphic | back to summary |
|---|---|
| public void setGraphic(Node value) An optional graphic for the menu item This will normally be
an | |
| setId | back to summary |
|---|---|
| public void setId(String value) * Properties * * | |
| setMnemonicParsing | back to summary |
|---|---|
| public void setMnemonicParsing(boolean value) MnemonicParsing property to enable/disable text parsing. If this is set to true, then the MenuItemBase text will be parsed to see if it contains the mnemonic parsing character '_'. When a mnemonic is detected the key combination will be determined based on the succeeding character, and the mnemonic added. The default value for MenuItemBase is true. | |
| setOnAction | back to summary |
|---|---|
| public void setOnAction(EventHandler<ActionEvent> value) The action, which is invoked whenever the MenuItemBase is fired. This
may be due to the user clicking on the button with the mouse, or by
a touch event, or by a key press, or if the developer programmatically
invokes the | |
| setText | back to summary |
|---|---|
| public void setText(String value) The text to display in the menu item. | |
| setVisible | back to summary |
|---|---|
| public void setVisible(boolean value) | |
| textProperty | back to summary |
|---|---|
| public StringProperty textProperty() | |
| visibleProperty | back to summary |
|---|---|
| public BooleanProperty visibleProperty() | |