org.apache.pivot.wtk
Class WindowStateListener.Adapter

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

public static class WindowStateListener.Adapter
extends Object
implements WindowStateListener

Window state listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.WindowStateListener
WindowStateListener.Adapter
 
Constructor Summary
WindowStateListener.Adapter()
           
 
Method Summary
 Vote previewWindowClose(Window window)
          Called to preview a window close event.
 Vote previewWindowOpen(Window window)
          Called to preview a window open event.
 void windowClosed(Window window, Display display, Window owner)
          Called when a window has closed.
 void windowCloseVetoed(Window window, Vote reason)
          Called when a window close event has been vetoed.
 void windowOpened(Window window)
          Called when a window has opened.
 void windowOpenVetoed(Window window, Vote reason)
          Called when a window open event has been vetoed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowStateListener.Adapter

public WindowStateListener.Adapter()
Method Detail

windowOpened

public void windowOpened(Window window)
Description copied from interface: WindowStateListener
Called when a window has opened.

Specified by:
windowOpened in interface WindowStateListener

previewWindowClose

public Vote previewWindowClose(Window window)
Description copied from interface: WindowStateListener
Called to preview a window close event.

Specified by:
previewWindowClose in interface WindowStateListener

previewWindowOpen

public Vote previewWindowOpen(Window window)
Description copied from interface: WindowStateListener
Called to preview a window open event.

Specified by:
previewWindowOpen in interface WindowStateListener

windowCloseVetoed

public void windowCloseVetoed(Window window,
                              Vote reason)
Description copied from interface: WindowStateListener
Called when a window close event has been vetoed.

Specified by:
windowCloseVetoed in interface WindowStateListener

windowOpenVetoed

public void windowOpenVetoed(Window window,
                             Vote reason)
Description copied from interface: WindowStateListener
Called when a window open event has been vetoed.

Specified by:
windowOpenVetoed in interface WindowStateListener

windowClosed

public void windowClosed(Window window,
                         Display display,
                         Window owner)
Description copied from interface: WindowStateListener
Called when a window has closed.

Specified by:
windowClosed in interface WindowStateListener