Package-level declarations
Types
Link copied to clipboard
Container of ButtonType, providing sets of useful operation.
Link copied to clipboard
Receiver for buttons
block.
Functions
Link copied to clipboard
inline fun alert(content: String, vararg buttonTypes: ButtonType = arrayOf(CLOSE), noinline alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show an alert.
fun alert(title: String? = null, graphic: Node? = null, content: String = "", vararg buttonTypes: ButtonType = arrayOf(CLOSE), alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show an alert with title and graphic.
Link copied to clipboard
Configure Dialog buttons.
Link copied to clipboard
inline fun confirmAlert(content: String, vararg buttonTypes: ButtonType = arrayOf(YES, NO), noinline alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show a confirmation alert.
fun confirmAlert(title: String? = null, graphic: Node? = null, content: String = "", vararg buttonTypes: ButtonType = arrayOf(YES, NO), alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show a confirmation alert with title and graphic.
Link copied to clipboard
inline fun errorAlert(content: String, vararg buttonTypes: ButtonType = arrayOf(CLOSE), noinline alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show an error alert.
fun errorAlert(title: String? = null, graphic: Node? = null, content: String = "", vararg buttonTypes: ButtonType = arrayOf(CLOSE), alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show an error alert with title and graphic.
Link copied to clipboard
inline fun infoAlert(content: String, vararg buttonTypes: ButtonType = arrayOf(CLOSE), noinline alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show an information alert.
fun infoAlert(title: String? = null, graphic: Node? = null, content: String = "", vararg buttonTypes: ButtonType = arrayOf(CLOSE), alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show an information alert with title and graphic.
Link copied to clipboard
inline fun inputDialog(prefill: String = "", noinline dialogAction: TextInputDialog.() -> Unit? = null): Optional<String>
Show a text input dialog.
fun inputDialog(title: String? = null, graphic: Node? = null, prefill: String = "", dialogAction: TextInputDialog.() -> Unit? = null): Optional<String>
Show a text input dialog with title and graphic.
Link copied to clipboard
inline fun <T> selector(vararg items: T, prefill: T? = null, noinline dialogAction: ChoiceDialog<T>.() -> Unit? = null): Optional<T>
inline fun <T> selector(items: Collection<T>? = null, prefill: T? = null, noinline dialogAction: ChoiceDialog<T>.() -> Unit? = null): Optional<T>
Show a selector.
fun <T> selector(title: String? = null, graphic: Node? = null, vararg items: T, prefill: T? = null, dialogAction: ChoiceDialog<T>.() -> Unit? = null): Optional<T>
fun <T> selector(title: String? = null, graphic: Node? = null, items: Collection<T>? = null, prefill: T? = null, dialogAction: ChoiceDialog<T>.() -> Unit? = null): Optional<T>
Show a selector with title and graphic.
Link copied to clipboard
inline fun warningAlert(content: String, vararg buttonTypes: ButtonType = arrayOf(CLOSE), noinline alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show a warning alert.
fun warningAlert(title: String? = null, graphic: Node? = null, content: String = "", vararg buttonTypes: ButtonType = arrayOf(CLOSE), alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show a warning alert with title and graphic.