This method is not synchronized and must be called from a web request thread (in this context this method is thread safe because the ItsNat document is automatically synchronized).
Event listeners are dispatched using a web request thread, therefore the ItsNat document object is already synchronized and Java code can be the same as a normal event processing.
The event object used when dispatching the listener is a not a "real" DOM client event and most of methods have no meaning.
@param listener the listener to add. @see #removeEventListener(EventListener)
|
|