|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.input.EventNormalizer
public class EventNormalizer
Understands an which normalizes the event stream by sending a single
AWTEventListenerWINDOW_CLOSED, instead of one every time dispose is called.
| Constructor Summary | |
|---|---|
EventNormalizer()
Creates a new EventNormalizer. |
|
| Method Summary | |
|---|---|
void |
eventDispatched(AWTEvent event)
Event reception callback. |
void |
startListening(Toolkit toolkit,
AWTEventListener delegate,
long mask)
Starts listening for events. |
void |
stopListening()
Stops listening for events and disposes the delegate event listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventNormalizer()
EventNormalizer.
| Method Detail |
|---|
public void startListening(Toolkit toolkit,
AWTEventListener delegate,
long mask)
toolkit - the Toolkit to use.delegate - the event listener to delegate event processing to.mask - the event mask to use to register this normalizer in the Toolkit.public void stopListening()
public void eventDispatched(AWTEvent event)
eventDispatched in interface AWTEventListenerevent - the dispatached event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||