Module FXDialogs

Class ExceptionDialog

java.lang.Object
javafx.scene.control.Dialog<javafx.scene.control.ButtonType>
com.amirali.fxdialogs.ExceptionDialog
All Implemented Interfaces:
javafx.event.EventTarget

public final class ExceptionDialog extends javafx.scene.control.Dialog<javafx.scene.control.ButtonType>
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.StringProperty
    StringProperty of the ExceptionDialog message
    javafx.beans.property.ObjectProperty<javafx.scene.image.Image>
     
    javafx.beans.property.ObjectProperty<Throwable>
    ObjectProperty of the exception

    Properties inherited from class javafx.scene.control.Dialog

    contentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    ExceptionDialog builder
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.beans.property.StringProperty
    StringProperty of the ExceptionDialog message
    javafx.beans.property.ObjectProperty<javafx.scene.image.Image>
     
    javafx.beans.property.ObjectProperty<Throwable>
    ObjectProperty of the exception
    message of the ExceptionDialog
    exception as Throwable
    void
    setDialogMessage(@NotNull String message)
    sets message of the ExceptionDialog
    void
    setException(@NotNull Throwable exception)
    sets exceptions to the text area

    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
  • Property Details

    • errorIconImage

      public javafx.beans.property.ObjectProperty<javafx.scene.image.Image> errorIconImageProperty
    • dialogMessage

      public javafx.beans.property.StringProperty dialogMessageProperty
      StringProperty of the ExceptionDialog message
      See Also:
    • exception

      public javafx.beans.property.ObjectProperty<Throwable> exceptionProperty
      ObjectProperty of the exception
      See Also:
  • Constructor Details

    • ExceptionDialog

      public ExceptionDialog(@NotNull @NotNull ExceptionDialog.Builder builder)
      Parameters:
      builder - ExceptionDialog builder
  • Method Details

    • errorIconImageProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.image.Image> errorIconImageProperty()
    • setDialogMessage

      public void setDialogMessage(@NotNull @NotNull String message)
      sets message of the ExceptionDialog
      Parameters:
      message - message of the ExceptionDialog
    • getDialogMessage

      public String getDialogMessage()
      message of the ExceptionDialog
      Returns:
      String
    • dialogMessageProperty

      public javafx.beans.property.StringProperty dialogMessageProperty()
      StringProperty of the ExceptionDialog message
      See Also:
    • setException

      public void setException(@NotNull @NotNull Throwable exception)
      sets exceptions to the text area
      Parameters:
      exception - Throwable
    • getException

      public Throwable getException()
      exception as Throwable
      Returns:
      Throwable
    • exceptionProperty

      public javafx.beans.property.ObjectProperty<Throwable> exceptionProperty()
      ObjectProperty of the exception
      See Also: