Package org.teavm.jso.dom.events
Interface MouseEvent
- All Superinterfaces:
Event,org.teavm.jso.JSObject
- All Known Subinterfaces:
WheelEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final shortstatic final shortstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final shortFields inherited from interface org.teavm.jso.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE -
Method Summary
Modifier and TypeMethodDescriptionbooleanshortshortintintbooleanbooleandoubledoubleintintintgetPageX()intgetPageY()intintbooleanvoidinitMouseEvent(String type, boolean canBubble, boolean cancelable, org.teavm.jso.JSObject view, int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, short button, EventTarget relatedTarget) Methods inherited from interface org.teavm.jso.dom.events.Event
getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, isBubbles, isCancelable, preventDefault, stopPropagationMethods inherited from interface org.teavm.jso.JSObject
cast
-
Field Details
-
LEFT_BUTTON
static final short LEFT_BUTTON- See Also:
-
MIDDLE_BUTTON
static final short MIDDLE_BUTTON- See Also:
-
RIGHT_BUTTON
static final short RIGHT_BUTTON- See Also:
-
CLICK
- See Also:
-
MOUSEDOWN
- See Also:
-
MOUSEUP
- See Also:
-
MOUSEOVER
- See Also:
-
MOUSEMOVE
- See Also:
-
MOUSEOUT
- See Also:
-
-
Method Details
-
getScreenX
int getScreenX() -
getScreenY
int getScreenY() -
getClientX
int getClientX() -
getClientY
int getClientY() -
getOffsetX
int getOffsetX() -
getOffsetY
int getOffsetY() -
getPageX
int getPageX() -
getPageY
int getPageY() -
getCtrlKey
boolean getCtrlKey() -
getShiftKey
boolean getShiftKey() -
getAltKey
boolean getAltKey() -
getMetaKey
boolean getMetaKey() -
getButton
short getButton() -
getButtons
short getButtons() -
getRelatedTarget
EventTarget getRelatedTarget() -
getMovementX
double getMovementX() -
getMovementY
double getMovementY() -
initMouseEvent
void initMouseEvent(String type, boolean canBubble, boolean cancelable, org.teavm.jso.JSObject view, int detail, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, short button, EventTarget relatedTarget)
-