This method works the same as org.w3c.dom.events.Document.createEvent(String), in this case the event object created is ready to be dispatched to the remote event listeners registered calling:
EventTarget.dispatchEvent(Event): this method detects whether the submitted event was created by this factory method then redirects to {@link #dispatchEvent(EventTarget,Event)}. eventType parameter specifies thetype of Event interface to be created.
| |
| |