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, setReturnCode
public 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 Dialog
protected final javafx.scene.Node createDialogArea()
createDialogArea
in class Dialog
protected javafx.geometry.Insets getContentInset()
getContentInset
in class Dialog
protected abstract javafx.scene.Node createDialogContent()