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
TypePropertyDescriptionjavafx.beans.property.StringProperty
StringProperty of the ExceptionDialog messagejavafx.beans.property.ObjectProperty<javafx.scene.image.Image>
javafx.beans.property.ObjectProperty<Throwable>
ObjectProperty of the exceptionProperties 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.StringProperty
StringProperty of the ExceptionDialog messagejavafx.beans.property.ObjectProperty<javafx.scene.image.Image>
javafx.beans.property.ObjectProperty<Throwable>
ObjectProperty of the exceptionmessage of the ExceptionDialogexception as Throwablevoid
setDialogMessage
(@NotNull String message) sets message of the ExceptionDialogvoid
setException
(@NotNull Throwable exception) sets exceptions to the text areaMethods 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
-
Property Details
-
errorIconImage
public javafx.beans.property.ObjectProperty<javafx.scene.image.Image> errorIconImageProperty -
dialogMessage
public javafx.beans.property.StringProperty dialogMessagePropertyStringProperty of the ExceptionDialog message- See Also:
-
exception
ObjectProperty of the exception- See Also:
-
-
Constructor Details
-
ExceptionDialog
- Parameters:
builder
- ExceptionDialog builder
-
-
Method Details
-
errorIconImageProperty
public javafx.beans.property.ObjectProperty<javafx.scene.image.Image> errorIconImageProperty() -
setDialogMessage
sets message of the ExceptionDialog- Parameters:
message
- message of the ExceptionDialog
-
getDialogMessage
message of the ExceptionDialog- Returns:
- String
-
dialogMessageProperty
public javafx.beans.property.StringProperty dialogMessageProperty()StringProperty of the ExceptionDialog message- See Also:
-
setException
sets exceptions to the text area- Parameters:
exception
- Throwable
-
getException
exception as Throwable- Returns:
- Throwable
-
exceptionProperty
ObjectProperty of the exception- See Also:
-