class EventQueueExceptionWrapper
extends java.awt.EventQueue
EventQueueExceptionListener
s.
This should only be used as a singleton, and it is indirectly used by
the Utility.addEventQueueExceptionListener(EventQueueExceptionListener)
method.Constructor and Description |
---|
EventQueueExceptionWrapper()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addEventQueueExceptionListener(EventQueueExceptionListener listener)
Add an exception listener which is called when an exception occurs during the
dispatch of an AWT event.
|
protected void |
dispatchEvent(java.awt.AWTEvent event)
Dispatches an event.
|
void |
removeEventQueueExceptionListener(EventQueueExceptionListener listener)
Remove an exception listener which was called when an exception occurs during the
dispatch of an AWT event.
|
protected void dispatchEvent(java.awt.AWTEvent event)
Event Type | Source Type | Dispatched To |
---|---|---|
ActiveEvent | Any | event.dispatch() |
Other | Component | source.dispatchEvent(AWTEvent) |
Other | MenuComponent | source.dispatchEvent(AWTEvent) |
Other | No action (ignored) |
dispatchEvent
in class java.awt.EventQueue
event
- an instance of java.awt.AWTEvent
,
or a subclass of itpublic void addEventQueueExceptionListener(EventQueueExceptionListener listener)
listener
- listener to addpublic void removeEventQueueExceptionListener(EventQueueExceptionListener listener)
listener
- listener to remove