eu.livotov.tpt.gui.dialogs
Interface InputDialog.InputDialogResultListener
- Enclosing class:
- InputDialog
public static interface InputDialog.InputDialogResultListener
Listener interface to receive dialog close event and result
Method Summary |
void |
dialogClosed(OptionKind closeEvent,
java.lang.String inputMessage)
Called when dialog is closed by the user |
dialogClosed
void dialogClosed(OptionKind closeEvent,
java.lang.String inputMessage)
- Called when dialog is closed by the user
- Parameters:
closeEvent
- button id, that caused this dialog to be closed. Can be OK if user
pressed "OK" button or ENTER key or CANCEL - in case user pressed
"Cancel", "X" buttons or ESC key.inputMessage
- input text as it was typed by a user. The text is available
regardless of how user closed the dialog.