Package org.loboevolution.html.js.events
Class WheelEventImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.js.events.EventImpl
org.loboevolution.html.js.events.UIEventImpl
org.loboevolution.html.js.events.MouseEventImpl
org.loboevolution.html.js.events.WheelEventImpl
- All Implemented Interfaces:
Event
,MouseEvent
,UIEvent
,WheelEvent
,ScriptableDelegate
WheelEventImpl class.
-
Field Summary
Fields inherited from interface org.loboevolution.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE, NONE
Fields inherited from interface org.loboevolution.events.WheelEvent
DOM_DELTA_LINE, DOM_DELTA_PAGE, DOM_DELTA_PIXEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The WheelEvent.deltaMode read-only property returns an unsigned long representing the unit of the delta values scroll amount.double
deltaX()
The WheelEvent.deltaX read-only property is a double representing the horizontal scroll amount in the WheelEvent.deltaMode unit.double
deltaY()
The WheelEvent.deltaY read-only property is a double representing the vertical scroll amount in the WheelEvent.deltaMode unit.double
deltaZ()
The WheelEvent.deltaZ read-only property is a double representing the scroll amount along the z-axis, in the WheelEvent.deltaMode unit.protected void
toString()
Methods inherited from class org.loboevolution.html.js.events.MouseEventImpl
getButton, getModifierState, getWhich, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, relatedTarget
Methods inherited from class org.loboevolution.html.js.events.UIEventImpl
initUIEvent, initUIEvent, initUIEvent, initUIEvent, initUIEvent, setUIEventParams
Methods inherited from class org.loboevolution.html.js.events.EventImpl
getBoolVal, getComposedPath, getDefaultPrevented, getDoubleVal, getLongVal, getReturnValue, getSrcElement, getStopImmediatePropagation, getStopPropagation, getStringVal, getTimeStamp, initEvent, initEvent, initEvent, isPropogationStopped, preventDefault, setReturnValue
Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.loboevolution.events.Event
getBubbles, getCancelable, getComposed, getComposedPath, getCurrentTarget, getDefaultPrevented, getEventPhase, getReturnValue, getSrcElement, getStopImmediatePropagation, getStopPropagation, getTarget, getTimeStamp, getTrusted, getType, initEvent, initEvent, initEvent, preventDefault
Methods inherited from interface org.loboevolution.events.MouseEvent
getAltKey, getButton, getButtons, getClientX, getClientY, getCtrlKey, getMetaKey, getModifierState, getMovementX, getMovementY, getOffsetX, getOffsetY, getPageX, getPageY, getScreenX, getScreenY, getShiftKey, getX, getY, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, initMouseEvent, relatedTarget
Methods inherited from interface org.loboevolution.events.UIEvent
getDetail, getView, getWhich, initUIEvent, initUIEvent, initUIEvent, initUIEvent, initUIEvent
-
Constructor Details
-
WheelEventImpl
Constructor for WheelEventImpl.
- Parameters:
params
- event constructor parameters
-
-
Method Details
-
setParams
- Overrides:
setParams
in classEventImpl
- Throws:
DOMException
-
deltaMode
public int deltaMode()Description copied from interface:WheelEvent
The WheelEvent.deltaMode read-only property returns an unsigned long representing the unit of the delta values scroll amount. Permitted values are:- Specified by:
deltaMode
in interfaceWheelEvent
- See Also:
-
deltaX
public double deltaX()Description copied from interface:WheelEvent
The WheelEvent.deltaX read-only property is a double representing the horizontal scroll amount in the WheelEvent.deltaMode unit.- Specified by:
deltaX
in interfaceWheelEvent
- See Also:
-
deltaY
public double deltaY()Description copied from interface:WheelEvent
The WheelEvent.deltaY read-only property is a double representing the vertical scroll amount in the WheelEvent.deltaMode unit.- Specified by:
deltaY
in interfaceWheelEvent
- See Also:
-
deltaZ
public double deltaZ()Description copied from interface:WheelEvent
The WheelEvent.deltaZ read-only property is a double representing the scroll amount along the z-axis, in the WheelEvent.deltaMode unit.- Specified by:
deltaZ
in interfaceWheelEvent
- See Also:
-
toString
- Overrides:
toString
in classMouseEventImpl
-