public abstract class TitleAreaDialog extends Dialog
CANCEL_BUTTON, OK_BUTTON| Constructor and Description |
|---|
TitleAreaDialog(javafx.stage.Window parent,
java.lang.String windowTitle,
java.lang.String title,
java.lang.String message,
java.lang.String iconClass)
Create a new dialog
|
TitleAreaDialog(javafx.stage.Window parent,
java.lang.String windowTitle,
java.lang.String title,
java.lang.String message,
java.net.URL imageURI)
Create a new dialog
|
| Modifier and Type | Method and Description |
|---|---|
protected javafx.scene.Node |
createDialogArea() |
protected abstract javafx.scene.Node |
createDialogContent() |
protected javafx.geometry.Insets |
getContentInset() |
protected java.util.List<java.lang.String> |
getStylesheets() |
Subscription |
showTemporaryErrorMessage(java.lang.String temporaryMessage)
Show a temporary error message if another temporary message is already
showing then the original one will be removed before
|
Subscription |
showTemporaryInfoMessage(java.lang.String temporaryMessage)
Show a temporary info message if another temporary message is already
showing then the original one will be removed before
|
Subscription |
showTemporaryMessage(java.lang.String temporaryMessage,
java.lang.String... messageStyles)
Show a temporary message if another temporary message is already showing
then the original one will be removed before
|
Subscription |
showTemporaryWarningMessage(java.lang.String temporaryMessage)
Show a temporary warning message if another temporary message is already
showing then the original one will be removed before
|
buttonPressed, cancelPressed, close, create, createButtonBar, createButtonForBar, createButtonsForBar, createContents, getBounds, getCustomWindowPane, getInitialContentSize, getInitialLocation, getInitialSize, getModality, isCancelDefault, isOkDefault, okPressed, open, pack, preopen, setBounds, setReturnCodepublic TitleAreaDialog(javafx.stage.Window parent,
java.lang.String windowTitle,
java.lang.String title,
java.lang.String message,
java.net.URL imageURI)
parent - the parentwindowTitle - the window titletitle - the header title textmessage - the header messageimageURI - the uri of the image to displaypublic TitleAreaDialog(javafx.stage.Window parent,
java.lang.String windowTitle,
java.lang.String title,
java.lang.String message,
java.lang.String iconClass)
parent - the parentwindowTitle - the window titletitle - the header title textmessage - the header messageiconClass - the css class to use for the iconprotected java.util.List<java.lang.String> getStylesheets()
getStylesheets in class Dialogprotected final javafx.scene.Node createDialogArea()
createDialogArea in class Dialogprotected javafx.geometry.Insets getContentInset()
getContentInset in class Dialogprotected abstract javafx.scene.Node createDialogContent()
public Subscription showTemporaryMessage(java.lang.String temporaryMessage,
java.lang.String... messageStyles)
temporaryMessage - the message to displaymessageStyles - the message styles to applypublic Subscription showTemporaryWarningMessage(java.lang.String temporaryMessage)
temporaryMessage - the temporary messagepublic Subscription showTemporaryErrorMessage(java.lang.String temporaryMessage)
temporaryMessage - the temporary messagepublic Subscription showTemporaryInfoMessage(java.lang.String temporaryMessage)
temporaryMessage - the temporary message