public final class Alerts
extends java.lang.Object
Alert related functions.| Modifier and Type | Method and Description |
|---|---|
static javafx.scene.control.Alert |
error(javafx.scene.control.Alert.AlertType type,
java.lang.String message,
java.lang.Throwable throwable)
Create an application error message
Alert with Throwable details. |
static javafx.scene.control.Alert |
logs(javafx.scene.control.Alert.AlertType type,
java.lang.String message,
java.util.Collection<java.util.logging.LogRecord> logs)
Create an application error message
Alert with LogRecord details. |
static javafx.scene.control.Alert |
message(javafx.scene.control.Alert.AlertType type,
java.lang.String message,
javafx.scene.control.ButtonType... buttons)
Create a generic application message
Alert. |
static javafx.scene.control.Alert |
unexpected(java.lang.Throwable throwable)
Create an unexpected error
Alert of type Alert.AlertType.ERROR. |
public static javafx.scene.control.Alert unexpected(java.lang.Throwable throwable)
Alert of type Alert.AlertType.ERROR.throwable - The optional Throwable providing the alert details.public static javafx.scene.control.Alert error(javafx.scene.control.Alert.AlertType type,
java.lang.String message,
java.lang.Throwable throwable)
Alert with Throwable details.type - The alert type to create.message - The error message to display.throwable - The optional Throwable providing the alert details.public static javafx.scene.control.Alert message(javafx.scene.control.Alert.AlertType type,
java.lang.String message,
javafx.scene.control.ButtonType... buttons)
Alert.type - The alert type to create.message - The message to display.buttons - The buttons to display.public static javafx.scene.control.Alert logs(javafx.scene.control.Alert.AlertType type,
java.lang.String message,
java.util.Collection<java.util.logging.LogRecord> logs)
Alert with LogRecord details.type - The alert type to create.message - The error message to display.logs - The optional collection of LogRecords providing the alert details.