com.glaivestone.mv
Class WindowEventAdaptor

java.lang.Object
  |
  +--com.glaivestone.mv.WindowEventAdaptor
All Implemented Interfaces:
java.util.EventListener, WindowEventListener
Direct Known Subclasses:
BasicSessionControlPolicy, SessionStreamWindowController

public class WindowEventAdaptor
extends java.lang.Object
implements WindowEventListener

Default event listener adapter for receiving winoow life cycle events. The default behavior is to do nothing.

This is a convenience class to simplify creating listeners for specific subsets of events in the window life cycle.

Author:
Deb Lewis

Constructor Summary
WindowEventAdaptor()
           
 
Method Summary
 void confirmWindowClose(WindowEvent event)
          Confirmation event that a window is about to be closed.
 void windowClosed(WindowEvent event)
          Notification event that a window has been closed.
 void windowClosing(WindowEvent event)
          Notification event that a window is about to be closed.
 void windowOpened(WindowEvent event)
          Notification event that a window has been opened.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowEventAdaptor

public WindowEventAdaptor()
Method Detail

confirmWindowClose

public void confirmWindowClose(WindowEvent event)
                        throws VetoException
Confirmation event that a window is about to be closed. The proposed close operation can be vetoed by a listener.

Specified by:
confirmWindowClose in interface WindowEventListener
VetoException
See Also:
WindowEventListener.confirmWindowClose(com.glaivestone.mv.WindowEvent)

windowClosing

public void windowClosing(WindowEvent event)
Notification event that a window is about to be closed.

Specified by:
windowClosing in interface WindowEventListener
See Also:
WindowEventListener.windowClosing(com.glaivestone.mv.WindowEvent)

windowClosed

public void windowClosed(WindowEvent event)
Notification event that a window has been closed.

Specified by:
windowClosed in interface WindowEventListener
See Also:
WindowEventListener.windowClosed(com.glaivestone.mv.WindowEvent)

windowOpened

public void windowOpened(WindowEvent event)
Notification event that a window has been opened.

Specified by:
windowOpened in interface WindowEventListener
See Also:
WindowEventListener.windowOpened(com.glaivestone.mv.WindowEvent)

GFL 1.1 API