Uses of Class
javafx.scene.control.MenuItem
Package
Description
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
-
Uses of MenuItem in javafx.scene.control
Modifier and TypeClassDescriptionclass
AMenuItem
that can be toggled between selected and unselected states.class
class
A popup menu of actionable items which is displayed to the user only upon request.class
class
AMenuItem
that as the name suggests allows for a horizontal Separator to be embedded within it, by assigning aSeparator
to thecontent
property of theCustomMenuItem
This is provided for convenience as groups ofmenuitems
can be separated by a separator.Modifier and TypeMethodDescriptionfinal ObservableList<MenuItem>
ContextMenu.getItems()
The menu items on the context menu.final ObservableList<MenuItem>
Menu.getItems()
The items to show within this menu.final ObservableList<MenuItem>
MenuButton.getItems()
The items to show within this buttons menu.ModifierConstructorDescriptionContextMenu
(MenuItem... items) Create a new ContextMenu initialized with the given itemsMenuButton
(String text, Node graphic, MenuItem... items) Creates a new menu button with the given text and graphic to display on the button, and inserts the given items into theitems
list.SplitMenuButton
(MenuItem... items) Creates a new split menu button with the given list of menu items.