Method Summary |
|
public void | cancelBubble() Cancels bubbling for the given event. |
public int | getClientX() Returns the event's x coordinate. |
public int | getClientY() Returns the event's y coordinate. |
public int | getEventType() Returns the dom event type. |
public int | getKeyCode() Returns the key code associated with this event. |
public Element | getTarget() Returns the event's target element. |
public boolean | hasModifier() Returns true if the control, alt, shift, or meta key is
pressed. |
public boolean | isControlKey() Returns true if the control key (or meta key) is pressed. |
public boolean | isRightClick() Returns true if the event is a right click. |
public boolean | isShiftKey() Returns true if the shift key is pressed. |
public void | preventDefault() Prevents the browser from taking its default action for the given event. |
public void | stopEvent() Stops the event (preventDefault and cancelBubble). |
public boolean | within(Element element) Returns true if the target of this event equals or is a
child of the given element. |