abbot.util
Class EventNormalizer
java.lang.Object
abbot.util.EventNormalizer
- All Implemented Interfaces:
- AWTEventListener, EventListener
public class EventNormalizer
- extends Object
- implements AWTEventListener
Provide an AWTEventListener which normalizes the event stream.
- removes modifier key repeats on w32
- sends a single WINDOW_CLOSED, instead of one every time dispose is
called
- removes some spurious key events on OSX
- catches sun.awt.dnd.SunDropTargetEvents during native drags
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventNormalizer
public EventNormalizer()
EventNormalizer
public EventNormalizer(boolean trackDrag)
startListening
public void startListening(AWTEventListener listener,
long mask)
stopListening
public void stopListening()
delegate
protected void delegate(AWTEvent e)
eventDispatched
public void eventDispatched(AWTEvent event)
- Event reception callback.
- Specified by:
eventDispatched
in interface AWTEventListener
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on