edu.jhu.tmaj.client.shared
Class ClosingWindowListener
java.lang.Object
java.awt.event.WindowAdapter
edu.jhu.tmaj.client.shared.ClosingWindowListener
- All Implemented Interfaces:
- java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener
- Direct Known Subclasses:
- IASessionWindowListener, SessionWindowListener
public abstract class ClosingWindowListener
- extends java.awt.event.WindowAdapter
This class calls the abstract method handleWindowClosed whenever a window is closed, either
programmatically or by the user.
Method Summary |
abstract void |
handleWindowClosed()
Called when the window is closed for any reason. |
void |
windowClosed(java.awt.event.WindowEvent e)
Called when a window is closed programatically, e.g. |
void |
windowClosing(java.awt.event.WindowEvent e)
Called when the user closes the window. |
Methods inherited from class java.awt.event.WindowAdapter |
windowActivated, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosingWindowListener
public ClosingWindowListener()
windowClosing
public final void windowClosing(java.awt.event.WindowEvent e)
- Called when the user closes the window.
- Specified by:
windowClosing
in interface java.awt.event.WindowListener
- Overrides:
windowClosing
in class java.awt.event.WindowAdapter
windowClosed
public final void windowClosed(java.awt.event.WindowEvent e)
- Called when a window is closed programatically, e.g. window.dispose()
- Specified by:
windowClosed
in interface java.awt.event.WindowListener
- Overrides:
windowClosed
in class java.awt.event.WindowAdapter
handleWindowClosed
public abstract void handleWindowClosed()
- Called when the window is closed for any reason.