Package-level declarations

Types

Link copied to clipboard
class AlertDialog(alertType: AlertType = AlertType.NONE) : Dialog
Link copied to clipboard
abstract class ColorPickerDialog : Dialog

A base class for CustomColorPickerDialog and PaletteColorPickerDialog, so that either can be use by ColorButton.

Link copied to clipboard
open class Dialog : WithContent

A quick and easy way to create dialogs, with a button bar.

Link copied to clipboard

A dialog box where the user can enter a single String (in a TextField).

Functions

Link copied to clipboard
fun alert(parentStage: Stage, title: String, heading: String = title, message: String, alertType: AlertType = AlertType.NONE, buttonTypes: List<ButtonType>, callback: (ButtonType?) -> Unit)

Builds, and shows an AlertDialog.

fun alert(parentStage: Stage, title: String, heading: String = title, message: String, alertType: AlertType = AlertType.NONE, buttonTypes: List<ButtonType>, messageRowCount: Int = 0, messageColumnCount: Int = 0, callback: (ButtonType?) -> Unit)
Link copied to clipboard
fun alertDialog(alertType: AlertType = AlertType.NONE, block: AlertDialog.() -> Unit): AlertDialog
Link copied to clipboard
fun dialog(block: Dialog.() -> Unit): Dialog
Link copied to clipboard

A convenience method to create a PromptDialog