Package | Description |
---|---|
javafx.scene.control |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckMenuItem
A
MenuItem that can be toggled between selected and unselected states. |
class |
CustomMenuItem
|
class |
Menu
A popup menu of actionable items which is displayed to the user only upon request.
|
class |
RadioMenuItem
|
class |
SeparatorMenuItem
A
MenuItem that as the name suggests allows for a horizontal Separator to be embedded within it,
by assigning a Separator to the content property of the CustomMenuItem
This is provided for convenience as groups of menuitems can be separated
by a separator. |
Modifier and Type | Method and Description |
---|---|
ObservableList<MenuItem> |
ContextMenu.getItems()
The menu items on the context menu.
|
ObservableList<MenuItem> |
Menu.getItems()
The items to show within this menu.
|
ObservableList<MenuItem> |
MenuButton.getItems()
The items to show within this buttons menu.
|
Constructor and Description |
---|
ContextMenu(MenuItem... items)
Create a new ContextMenu initialized with the given items
|
Menu(String text,
Node graphic,
MenuItem... items)
|
MenuButton(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 the
items list. |
SplitMenuButton(MenuItem... items)
Creates a new split menu button with the given list of menu items.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.