Java com.google.gwt.dom.client NativeEvent fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.dom.client NativeEvent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.dom.client NativeEvent.

The text is from its open source code.

Subclass

com.google.gwt.dom.client.NativeEvent has subclasses.
Click this link to see all its subclasses.

Field

intBUTTON_LEFT
The left mouse button.
intBUTTON_MIDDLE
The middle mouse button.
intBUTTON_RIGHT
The right mouse button.

Method

Tcast()
A helper method to enable cross-casting from any JavaScriptObject type to any other JavaScriptObject type.
booleangetAltKey()
Gets whether the ALT key was depressed when the given event occurred.
intgetButton()
Gets the mouse buttons that were depressed when the given event occurred.
JsArraygetChangedTouches()
Get an array of touches which have changed since the last touch event.
intgetCharCode()
Gets the Unicode codepoint of the character generated by this key event.
intgetClientX()
Gets the mouse x-position within the browser window's client area.
intgetClientY()
Gets the mouse y-position within the browser window's client area.
booleangetCtrlKey()
Gets whether the CTRL key was depressed when the given event occurred.
EventTargetgetCurrentEventTarget()
Gets the current target element of this event.
DataTransfergetDataTransfer()
Get the DataTransfer associated with the current drag event.
EventTargetgetEventTarget()
Returns the element that was the actual target of the given event.
intgetKeyCode()
Gets the key code (code associated with the physical key) associated with this event.
booleangetMetaKey()
Gets whether the META key was depressed when the given event occurred.
intgetMouseWheelVelocityY()
Gets the velocity of the mouse wheel associated with the event along the Y axis.
EventTargetgetRelatedEventTarget()
Gets the related target for this event.
intgetScreenX()
Gets the mouse x-position on the user's display.
intgetScreenY()
Gets the mouse y-position on the user's display.
booleangetShiftKey()
Gets whether the shift key was depressed when the given event occurred.
JsArraygetTouches()
Get an array of touches which have changed since the last touch event.
StringgetType()
Gets the enumerated type of this event.
voidpreventDefault()
Prevents the browser from taking its default action for the given event.
voidstopPropagation()
Stops the event from being propagated to parent elements.