public class MouseEvent extends UIEvent
Event.ComposedPathArrayUnionType, Event.DeepPathFn
Modifier and Type | Field and Description |
---|---|
boolean |
altKey |
int |
button |
int |
buttons |
double |
clientX |
double |
clientY |
boolean |
ctrlKey |
DataTransfer |
dataTransfer |
boolean |
metaKey |
double |
offsetX |
double |
offsetY |
double |
pageX |
double |
pageY |
EventTarget |
relatedTarget |
double |
screenX |
double |
screenY |
boolean |
shiftKey |
InputDeviceCapabilities |
sourceCapabilities |
double |
x |
double |
y |
AT_TARGET, bubbles, BUBBLING_PHASE, cancelable, CAPTURING_PHASE, composed, currentTarget, deepPath, defaultPrevented, eventPhase, namespaceURI, path, target, timeStamp, type
Constructor and Description |
---|
MouseEvent(java.lang.String type) |
MouseEvent(java.lang.String type,
MouseEventInit eventInitDict) |
Modifier and Type | Method and Description |
---|---|
boolean |
getModifierState(java.lang.String keyIdentifierArg) |
initUIEvent
composedPath, initEvent, initEvent, initEvent, preventDefault, stopImmediatePropagation, stopPropagation
public boolean altKey
public int button
public int buttons
public double clientX
public double clientY
public boolean ctrlKey
public DataTransfer dataTransfer
public boolean metaKey
public double offsetX
public double offsetY
public double pageX
public double pageY
public EventTarget relatedTarget
public double screenX
public double screenY
public boolean shiftKey
public InputDeviceCapabilities sourceCapabilities
public double x
public double y
public MouseEvent(java.lang.String type, MouseEventInit eventInitDict)
public MouseEvent(java.lang.String type)