/** * Dispatched the given event with this element as its target. The event will * go through all phases of the browser's normal event dispatch mechanism. * * Note: Because the browser's normal dispatch mechanism is used, exceptions * thrown from within handlers triggered by this method cannot be caught by * wrapping this method in a try/catch block. Such exceptions will be caught * by the * {@link com.google.gwt.core.client.GWT#setUncaughtExceptionHandler(com.google.gwt.core.client.GWT.UncaughtExceptionHandler) uncaught exception handler} * as usual. * * @param evt the event to be dispatched */ public final void dispatchEvent(NativeEvent evt) { DOMImpl.impl.dispatchEvent(this, evt); }
/** * Dispatched the given event with this element as its target. The event will * go through all phases of the browser's normal event dispatch mechanism. * * Note: Because the browser's normal dispatch mechanism is used, exceptions * thrown from within handlers triggered by this method cannot be caught by * wrapping this method in a try/catch block. Such exceptions will be caught * by the * {@link com.google.gwt.core.client.GWT#setUncaughtExceptionHandler(com.google.gwt.core.client.GWT.UncaughtExceptionHandler) uncaught exception handler} * as usual. * * @param evt the event to be dispatched */ public final void dispatchEvent(NativeEvent evt) { DOMImpl.impl.dispatchEvent(this, evt); }
/** * Dispatched the given event with this element as its target. The event will * go through all phases of the browser's normal event dispatch mechanism. * * Note: Because the browser's normal dispatch mechanism is used, exceptions * thrown from within handlers triggered by this method cannot be caught by * wrapping this method in a try/catch block. Such exceptions will be caught * by the * {@link com.google.gwt.core.client.GWT#setUncaughtExceptionHandler(com.google.gwt.core.client.GWT.UncaughtExceptionHandler) uncaught exception handler} * as usual. * * @param evt the event to be dispatched */ public final void dispatchEvent(NativeEvent evt) { DOMImpl.impl.dispatchEvent(this, evt); }