public class MessageBoxController extends StageController
| Constructor and Description |
|---|
MessageBoxController() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginMessageBox(java.lang.String message,
java.lang.Throwable details,
MessageBoxStyle... styles)
Begin message display.
|
MessageBoxResult |
getResult()
Get the message box result.
|
protected void |
setupStage(javafx.stage.Stage controllerStage)
Called during stage setup to perform the actual controller specific setup
steps.
|
canClose, getBundle, getExecutorService, getModality, getPreferences, getResizable, getStage, getStyle, getSystemMenuBar, openRootStage, openStage, reportUnexpectedException, setupPrimaryStage, showMessageBox, syncPreferencesprotected void setupStage(javafx.stage.Stage controllerStage)
throws java.io.IOException
StageControllerDerived classes overriding this function have to make sure to invoke the super's version prior to performing their setup steps.
setupStage in class StageControllercontrollerStage - The stage to setup.java.io.IOException - If an I/O error occurs during setup.StageController.setupPrimaryStage(Stage, Class)public void beginMessageBox(java.lang.String message,
java.lang.Throwable details,
MessageBoxStyle... styles)
message - The message to display.details - The (optional) exception causing the message.styles - The message box style to use.public MessageBoxResult getResult()