public class EventDispatchBridge
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
EventDispatchBridge.EventDispatcher |
static class |
EventDispatchBridge.EventWrapper |
Constructor and Description |
---|
EventDispatchBridge()
Creates a initially deactivated bridge.
|
EventDispatchBridge(EventDispatchBridge.EventDispatcher dispatcher)
Creates a new bridge that uses the given
dispatcher to
perform the final event handling on the event-dispatch thread |
Modifier and Type | Method and Description |
---|---|
EventDispatchBridge.EventDispatcher |
getDispatcher() |
void |
queueEvent() |
void |
queueEvent(java.lang.Object type,
java.lang.Object... args) |
void |
setDispatcher(EventDispatchBridge.EventDispatcher dispatcher) |
public EventDispatchBridge()
public EventDispatchBridge(EventDispatchBridge.EventDispatcher dispatcher)
dispatcher
to
perform the final event handling on the event-dispatch threaddispatcher
- public EventDispatchBridge.EventDispatcher getDispatcher()
public void setDispatcher(EventDispatchBridge.EventDispatcher dispatcher)
dispatcher
- the dispatcher to setpublic void queueEvent(java.lang.Object type, java.lang.Object... args)
public void queueEvent()