org.apache.pivot.wtk
Interface DialogStateListener

All Superinterfaces:
DialogCloseListener
All Known Implementing Classes:
DialogStateListener.Adapter, TerraAlertSkin, TerraDialogSkin

public interface DialogStateListener
extends DialogCloseListener

Dialog state listener interface.


Nested Class Summary
static class DialogStateListener.Adapter
          Dialog state listener adapter.
 
Method Summary
 void dialogCloseVetoed(Dialog dialog, Vote reason)
          Called when a dialog close event has been vetoed.
 Vote previewDialogClose(Dialog dialog, boolean result)
          Called to preview a dialog close event.
 
Methods inherited from interface org.apache.pivot.wtk.DialogCloseListener
dialogClosed
 

Method Detail

previewDialogClose

Vote previewDialogClose(Dialog dialog,
                        boolean result)
Called to preview a dialog close event.

Parameters:
dialog -
result -

dialogCloseVetoed

void dialogCloseVetoed(Dialog dialog,
                       Vote reason)
Called when a dialog close event has been vetoed.

Parameters:
dialog -
reason -