Event cannot be created directly. Instead, use the Event type when returning a native DOM event from JSNI methods. An Event passed back into JSNI becomes the original DOM event the Event was created from, and can be accessed in JavaScript code as expected. This is typically done by calling methods in the {@link com.google.gwt.user.client.DOM} class.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |