org.apache.pivot.wtk
Class DialogStateListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.DialogStateListener.Adapter
All Implemented Interfaces:
DialogCloseListener, DialogStateListener
Enclosing interface:
DialogStateListener

public static class DialogStateListener.Adapter
extends Object
implements DialogStateListener

Dialog state listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.DialogStateListener
DialogStateListener.Adapter
 
Constructor Summary
DialogStateListener.Adapter()
           
 
Method Summary
 void dialogClosed(Dialog dialog, boolean modal)
          Called when a dialog has closed.
 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogStateListener.Adapter

public DialogStateListener.Adapter()
Method Detail

previewDialogClose

public Vote previewDialogClose(Dialog dialog,
                               boolean result)
Description copied from interface: DialogStateListener
Called to preview a dialog close event.

Specified by:
previewDialogClose in interface DialogStateListener

dialogCloseVetoed

public void dialogCloseVetoed(Dialog dialog,
                              Vote reason)
Description copied from interface: DialogStateListener
Called when a dialog close event has been vetoed.

Specified by:
dialogCloseVetoed in interface DialogStateListener

dialogClosed

public void dialogClosed(Dialog dialog,
                         boolean modal)
Description copied from interface: DialogCloseListener
Called when a dialog has closed.

Specified by:
dialogClosed in interface DialogCloseListener