org.compiere.apps
Class AWindowListener
java.lang.Object
java.awt.event.WindowAdapter
org.compiere.apps.AWindowListener
- All Implemented Interfaces:
- WindowFocusListener, WindowListener, WindowStateListener, EventListener
public class AWindowListener
- extends WindowAdapter
Convenience Class to tunnel Events.
Forwards Window Events like windowClosed to the WindowState listener.
Usually, a WindowStateListener gets only state events (minimized,..)
This allows implementing a single method (windowStateChanged)
to receive potentially all window events.
Implemented:
e.getID() == WindowEvent.WINDOW_CLOSED
- Version:
- $Id: AWindowListener.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $
- Author:
- Jorg Janke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AWindowListener
public AWindowListener(Window win,
WindowStateListener l)
- Constructor
- Parameters:
win - Windowl - Listener
windowClosed
public void windowClosed(WindowEvent e)
- Invoked when a window has been closed.
Forwarded.
- Specified by:
windowClosed in interface WindowListener- Overrides:
windowClosed in class WindowAdapter
- Parameters:
e - event to be forwarded
Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.