public class JsWheelEvent extends JsUIEvent implements WheelEvent
AT_TARGET, BEFORECOPY, BEFORECUT, BEFOREPASTE, BLUR, BUBBLING_PHASE, CAPTURING_PHASE, CHANGE, CLICK, CONTEXTMENU, COPY, CUT, DBLCLICK, DRAG, DRAGEND, DRAGENTER, DRAGLEAVE, DRAGOVER, DRAGSTART, DROP, ERROR, FOCUS, FOCUSIN, FOCUSOUT, INPUT, INVALID, KEYDOWN, KEYPRESS, KEYUP, MOUSEDOWN, MOUSEMOVE, MOUSEOUT, MOUSEOVER, MOUSEUP, MOUSEWHEEL, NONE, PASTE, RESIZE, SCROLL, SELECTSTART, SUBMIT, TOUCHCANCEL, TOUCHEND, TOUCHMOVE, TOUCHSTART, WEBKITANIMATIONEND, WEBKITANIMATIONITERATION, WEBKITANIMATIONSTART, WEBKITTRANSITIONEND
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsWheelEvent() |
Modifier and Type | Method and Description |
---|---|
int |
getClientX() |
int |
getClientY() |
int |
getOffsetX() |
int |
getOffsetY() |
int |
getScreenX() |
int |
getScreenY() |
int |
getWheelDelta() |
int |
getWheelDeltaX() |
int |
getWheelDeltaY() |
int |
getX() |
int |
getY() |
void |
initWebKitWheelEvent(int wheelDeltaX,
int wheelDeltaY,
Window view,
int screenX,
int screenY,
int clientX,
int clientY,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey) |
boolean |
isAltKey() |
boolean |
isCtrlKey() |
boolean |
isMetaKey() |
boolean |
isShiftKey() |
boolean |
isWebkitDirectionInvertedFromDevice() |
getCharCode, getDetail, getKeyCode, getLayerX, getLayerY, getPageX, getPageY, getView, getWhich, initUIEvent
getClipboardData, getCurrentTarget, getEventPhase, getSrcElement, getTarget, getTimeStamp, getType, initEvent, isBubbles, isCancelable, isCancelBubble, isDefaultPrevented, isReturnValue, preventDefault, setCancelBubble, setReturnValue, stopImmediatePropagation, stopPropagation
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCharCode, getDetail, getKeyCode, getLayerX, getLayerY, getPageX, getPageY, getView, getWhich, initUIEvent
getClipboardData, getCurrentTarget, getEventPhase, getSrcElement, getTarget, getTimeStamp, getType, initEvent, isBubbles, isCancelable, isCancelBubble, isDefaultPrevented, isReturnValue, preventDefault, setCancelBubble, setReturnValue, stopImmediatePropagation, stopPropagation
intAt, length
numberAt
public final boolean isAltKey()
isAltKey
in interface WheelEvent
public final int getClientX()
getClientX
in interface WheelEvent
public final int getClientY()
getClientY
in interface WheelEvent
public final boolean isCtrlKey()
isCtrlKey
in interface WheelEvent
public final boolean isMetaKey()
isMetaKey
in interface WheelEvent
public final int getOffsetX()
getOffsetX
in interface WheelEvent
public final int getOffsetY()
getOffsetY
in interface WheelEvent
public final int getScreenX()
getScreenX
in interface WheelEvent
public final int getScreenY()
getScreenY
in interface WheelEvent
public final boolean isShiftKey()
isShiftKey
in interface WheelEvent
public final boolean isWebkitDirectionInvertedFromDevice()
isWebkitDirectionInvertedFromDevice
in interface WheelEvent
public final int getWheelDelta()
getWheelDelta
in interface WheelEvent
public final int getWheelDeltaX()
getWheelDeltaX
in interface WheelEvent
public final int getWheelDeltaY()
getWheelDeltaY
in interface WheelEvent
public final int getX()
getX
in interface WheelEvent
public final int getY()
getY
in interface WheelEvent
public final void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int screenX, int screenY, int clientX, int clientY, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey)
initWebKitWheelEvent
in interface WheelEvent
Copyright © 2018. All rights reserved.