abbot.util
Class WeakAWTEventListener
java.lang.Object
abbot.util.WeakAWTEventListener
- All Implemented Interfaces:
- AWTEventListener, EventListener
public class WeakAWTEventListener
- extends Object
- implements AWTEventListener
Provides add-and-forget listening to the AWT event queue.
Provides an AWTEventListener which will automatically disconnect the
target listener when the target gets garbage-collected. Once the target
is GC'd, this listener will remove itself from the AWT event listener list.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeakAWTEventListener
public WeakAWTEventListener(AWTEventListener l,
long mask)
dispose
public void dispose()
eventDispatched
public void eventDispatched(AWTEvent e)
- Specified by:
eventDispatched
in interface AWTEventListener
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on