public interface DOMEvent
Modifier and Type | Method and Description |
---|---|
boolean |
getAltKey()
Retrieves the state of the ALT key.
|
MouseEventButton |
getButton()
Retrieves the mouse button pressed by the user.
|
long |
getClientX()
Retrieves the x-coordinate of the mouse pointer, or user's finger, position relative to the client area
of the window, excluding window decorations and scroll bars
|
long |
getClientY()
Retrieves the y-coordinate of the mouse pointer, or user's finger, position relative to the client area
of the window, excluding window decorations and scroll bars
|
boolean |
getCtrlKey()
Retrieves the state of the CTRL key.
|
DOMElement |
getElement()
Retrieves the object from which activation or the mouse pointer is exiting during the event.
|
long |
getKeyCode()
Retrieves the Unicode key code associated with the key that caused the event
|
long |
getOffsetX()
Retrieves the x-coordinate of a pointer's position relative to the object firing the event.
|
long |
getOffsetY()
Retrieves the x-coordinate of a pointer's position relative to the object firing the event.
|
long |
getScreenX()
Retrieves the x-coordinate of the mouse pointer's position relative to the user's screen.
|
long |
getScreenY()
Retrieves the y-coordinate of the mouse pointer's position relative to the user's screen.
|
boolean |
getShiftKey()
Retrieves the state of the SHIFT key.
|
java.lang.String |
getType()
Retrieves the event name from the event object.
|
DOMElement getElement()
boolean getAltKey()
boolean getCtrlKey()
boolean getShiftKey()
long getKeyCode()
long getClientX()
long getClientY()
long getOffsetX()
long getOffsetY()
long getScreenX()
long getScreenY()
java.lang.String getType()
MouseEventButton getButton()