file: ChoiceDialog.aus

class: ChoiceDialog

[14:7] extends: Dialog

Wraps JavaFX ChoiceDialog, a dialog that lets the user select one item from a list of choices and returns the selected item. A default choice is shown pre-selected when the dialog opens. Title, header text, and content text can be set to provide context. Call showAndWait() to block until the user confirms or cancels, then inspect the returned value for the chosen item.

Methods