*/
public void dispatchEventAsynchronous(int eventAction, Object eventObject) {
synchronized (this) {
readOnly = true;
}
EventThread eventThread = manager.getEventThread();
synchronized (eventThread) { /* synchronize on the EventThread to ensure no interleaving of posting to the event thread */
for (Iterator iter = queue.entrySet().iterator(); iter.hasNext();) { /* iterate over the list of listener lists */
Map.Entry entry = (Map.Entry) iter.next();
eventThread.postEvent((Set) entry.getKey(), (EventDispatcher) entry.getValue(), eventAction, eventObject);
}
}
}