Example usage for Java javafx.scene.control Dialog fields, constructors, methods, implement or subclass
The text is from its open source code.
Dialog() Creates a dialog without a specified owner. |
DialogPane | getDialogPane() |
void | initModality(Modality modality) Specifies the modality for this dialog. |
void | initOwner(Window window) Specifies the owner Window for this dialog, or null for a top-level, unowned dialog. |
void | setContentText(String contentText) Sets the string to show in the dialog content area. |
void | setGraphic(Node graphic) Sets the dialog graphic, which will be displayed either in the header, if one is showing, or to the left of the DialogPane#contentProperty() content . |
void | setHeaderText(String headerText) Sets the string to show in the dialog header area. |
void | setResizable(boolean resizable) Sets whether the dialog can be resized by the user. |
void | setResultConverter(Callback |
void | setTitle(String title) Change the Title of the dialog. |
void | setX(double x) |
void | setY(double y) |
Optional | showAndWait() Shows the dialog and waits for the user response (in other words, brings up a blocking dialog, with the returned value the users input). |