public class Dialogs extends Object
| Constructor and Description |
|---|
Dialogs(PartyInvoiceApp app)
Create dialogs helper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
saveConfirm(Runnable callback)
Show the dialog "You have unsaved changes ..." if there are unsaved
changes in the main window.
|
void |
showMessage(String messageTitleKey,
String messageKey)
Show message dialog.
|
void |
showModalDialog(javafx.stage.Stage stage)
Show a (dialog) stage modal to the main window and wait for it to close.
|
public Dialogs(PartyInvoiceApp app)
app - party invoice apppublic void showMessage(String messageTitleKey, String messageKey)
messageTitleKey - i18n key to show as titlemessageKey - i18n key to show as messagepublic void saveConfirm(Runnable callback)
callback - callback functionpublic void showModalDialog(javafx.stage.Stage stage)
stage - stage to showCopyright © 2015 illucIT Software GmbH. All rights reserved.