infoAlert
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.
Return
selected alert button.
Parameters
title
title of the dialog.
graphic
node to be displayed in header.
content
alert message.
buttonTypes
alert buttons.
alertAction
custom dialog action.
inline fun infoAlert(content: String, vararg buttonTypes: ButtonType = arrayOf(CLOSE), noinline alertAction: Alert.() -> Unit? = null): Optional<ButtonType>
Show an information alert.
Return
selected alert button.
Parameters
content
alert message.
buttonTypes
alert buttons.
alertAction
custom dialog action.