public abstract class TitleAreaDialog extends Dialog
CANCEL_BUTTON, OK_BUTTON| Constructor and Description |
|---|
TitleAreaDialog(@Nullable javafx.stage.Window parent,
@NonNull java.lang.String windowTitle,
@NonNull java.lang.String title,
@Nullable java.lang.String message,
@Nullable java.lang.String iconClass)
Create a new dialog
|
TitleAreaDialog(@Nullable javafx.stage.Window parent,
@NonNull java.lang.String windowTitle,
@NonNull java.lang.String title,
@NonNull java.lang.String message,
@Nullable 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() |
buttonPressed, cancelPressed, close, create, createButtonBar, createButtonForBar, createButtonsForBar, createContents, getBounds, getInitialContentSize, getInitialLocation, getInitialSize, getModality, isCancelDefault, isOkDefault, okPressed, open, pack, preopen, setBounds, setReturnCodepublic TitleAreaDialog(@Nullable javafx.stage.Window parent,
@NonNull java.lang.String windowTitle,
@NonNull java.lang.String title,
@NonNull java.lang.String message,
@Nullable 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(@Nullable javafx.stage.Window parent,
@NonNull java.lang.String windowTitle,
@NonNull java.lang.String title,
@Nullable java.lang.String message,
@Nullable 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()