Method Summary |
|
native public Event | getBrowserEvent() Return the native browser event. |
native public int | getCharCode() Gets the key code for the event. |
native public int | getKey() Returns a normalized keyCode for the event. |
native public int | getMouseButton() |
native public int | getPageX() Gets the x coordinate of the event. |
native public int | getPageY() Gets the y coordinate of the event. |
native public Element | getRelatedTarget() Gets the related target. |
native public Element | getTarget() Gets the target for the event. |
native public Element | getTarget(String selector, int maxDepth) |
native public long | getTime() |
native public int | getWheelDelta() |
public int[] | getXY() Gets the xy coordinates of the event. |
native public boolean | hasModifier() Returns true if the control, meta, shift or alt key was pressed during this event. |
public static EventObject | instance(JavaScriptObject event) |
native public boolean | isAltKey() Return true if is Alt key. |
native public boolean | isCtrlKey() Return true if is Ctrl key. |
native public boolean | isShiftKey() Return true if is Shift key. |
native public void | stopEvent() |
native public void | stopPropagation() Cancels bubbling of the event. |
native public boolean | within(String id) |
native public boolean | within(Element elem) |