Class WarningAlert

  • All Implemented Interfaces:
    javafx.event.EventTarget

    public class WarningAlert
    extends javafx.scene.control.Alert
    An alert that warns the user when they try to do something unsupported, such as trying to generate code with an operation that does not support code gen.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javafx.scene.control.Alert

        javafx.scene.control.Alert.AlertType
    • Constructor Summary

      Constructors 
      Constructor Description
      WarningAlert​(java.lang.String header, java.lang.String body, javafx.stage.Window owner)
      Creates a new warning alert.
    • Method Summary

      • Methods inherited from class javafx.scene.control.Alert

        alertTypeProperty, getAlertType, getButtonTypes, setAlertType
      • Methods inherited from class javafx.scene.control.Dialog

        buildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yProperty
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WarningAlert

        public WarningAlert​(java.lang.String header,
                            java.lang.String body,
                            javafx.stage.Window owner)
        Creates a new warning alert.
        Parameters:
        header - the header text of the alert. This should be short and descriptive.
        body - the body text of the alert. This should go into detail about the warning and what prompted it.
        owner - the owner window of this alert
        Throws:
        java.lang.NullPointerException - if any of the parameters are null