Example usage for Java javafx.scene.control ChoiceDialog fields, constructors, methods, implement or subclass
The text is from its open source code.
ChoiceDialog(T defaultChoice, @SuppressWarnings("unchecked") T... choices) Creates a new ChoiceDialog instance with the first argument specifying the default choice that should be shown to the user, and all following arguments considered a varargs array of all available choices for the user. | |
ChoiceDialog(T defaultChoice, Collection Creates a new ChoiceDialog instance with the first argument specifying the default choice that should be shown to the user, and the second argument specifying a collection of all available choices for the user. | |
ChoiceDialog() Creates a default, empty instance of ChoiceDialog with no set items and a null default choice. |
ObservableList | getItems() Returns the list of all items that will be displayed to users. |
void | setSelectedItem(T item) Sets the currently selected item in the dialog. |