Class DialogUtility

java.lang.Object
bayern.steinbrecher.utility.DialogUtility

public final class DialogUtility
extends java.lang.Object
Author:
Stefan Huber
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int SIZE
    Width/height of the alert type identifying icon.
  • Method Summary

    Modifier and Type Method Description
    static @NotNull javafx.scene.control.Alert createConfirmationAlert​(javafx.scene.control.Alert.AlertType alertType, @NotNull java.lang.String... args)
    Creates an Alert with given settings.
    static @NotNull javafx.scene.control.Alert createErrorAlert​(@NotNull java.lang.String... args)  
    static @NotNull javafx.scene.control.Alert createInfoAlert​(@NotNull java.lang.String... args)  
    static @NotNull javafx.scene.control.Alert createInteractiveAlert​(javafx.scene.control.Alert.AlertType type, @Nullable java.lang.String message, @NotNull javafx.scene.control.ButtonType... buttons)  
    static @NotNull javafx.scene.control.Alert createMessageAlert​(@Nullable java.lang.String message, @NotNull java.lang.String... args)  
    static @NotNull javafx.scene.control.Alert createStacktraceAlert​(@NotNull java.lang.Throwable cause, @NotNull java.lang.String... args)  
    static @NotNull javafx.scene.control.Alert createWarningAlert​(@NotNull java.lang.String... args)  
    static @NotNull java.util.Optional<javafx.scene.control.ButtonType> showAndWait​(@NotNull javafx.scene.control.Alert alert)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait