- java.lang.Object
-
- com.gluonhq.charm.glisten.control.Dialog
-
- com.gluonhq.charm.glisten.control.ExceptionDialog
-
- All Implemented Interfaces:
EventTarget
public class ExceptionDialog extends Dialog
A Dialog to display exceptions. This Dialog is a fullscreen Dialog composed of an introduction text, the exception message and the stacktrace.
- Since:
- 2.0.0
- See Also:
Dialog
-
-
Property Summary
Properties Type Property Description ObjectProperty<Exception>
exception
The exception displayed in this Dialog.StringProperty
introText
The intro text to display in this Dialog.
-
Constructor Summary
Constructors Constructor Description ExceptionDialog()
Creates an empty ExceptionDialog with a default intro text, graphic and title.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectProperty<Exception>
exceptionProperty()
The exception displayed in this Dialog.Exception
getException()
Gets the value of the property exception.String
getIntroText()
Gets the value of the property introText.StringProperty
introTextProperty()
The intro text to display in this Dialog.void
setException(Exception ex)
Sets the value of the property exception.void
setIntroText(String text)
Sets the value of the property introText.-
Methods inherited from class com.gluonhq.charm.glisten.control.Dialog
autoHideProperty, buildEventDispatchChain, contentProperty, contentTextProperty, getButtons, getContent, getContentText, getGraphic, getId, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getTitle, getTitleText, graphicProperty, hide, idProperty, isAutoHide, isFullscreen, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, setAutoHide, setContent, setContentText, setGraphic, setId, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResult, setTitle, setTitleText, showAndWait, showingProperty, titleProperty, titleTextProperty
-
-
-
-
Property Detail
-
exception
public final ObjectProperty<Exception> exceptionProperty
The exception displayed in this Dialog.- See Also:
getException()
,setException(Exception)
-
introText
public final StringProperty introTextProperty
The intro text to display in this Dialog.- Returns:
- a
StringProperty
with the text to display
-
-
Method Detail
-
exceptionProperty
public final ObjectProperty<Exception> exceptionProperty()
The exception displayed in this Dialog.- See Also:
getException()
,setException(Exception)
-
setException
public final void setException(Exception ex)
Sets the value of the property exception.- Property description:
- The exception displayed in this Dialog.
-
getException
public final Exception getException()
Gets the value of the property exception.- Property description:
- The exception displayed in this Dialog.
-
introTextProperty
public final StringProperty introTextProperty()
The intro text to display in this Dialog.- Returns:
- a
StringProperty
with the text to display
-
setIntroText
public final void setIntroText(String text)
Sets the value of the property introText.- Property description:
- * Instance fields * *
-
getIntroText
public final String getIntroText()
Gets the value of the property introText.- Property description:
- * Instance fields * *
-
-