Package org.loboevolution.html.js.events
Class PointerEventImpl
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.PointerEventImpl
- All Implemented Interfaces:
Event
,MouseEvent
,PointerEvent
,UIEvent
,ScriptableDelegate
-
Field Summary
Fields inherited from interface org.loboevolution.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE, NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
The tangentialPressure read-only property of the PointerEvent interface represents the normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress).int
getTwist()
The twist read-only property of the PointerEvent interface represents the clockwise rotation of the pointer (e.g., pen stylus) around its major axis, in degrees.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, setParams, 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.PointerEvent
getAltitudeAngle, getAzimuthAngle, getHeight, getIsPrimary, getPointerId, getPointerType, getPressure, getTiltX, getTiltY, getWidth
Methods inherited from interface org.loboevolution.events.UIEvent
getDetail, getView, getWhich, initUIEvent, initUIEvent, initUIEvent, initUIEvent, initUIEvent
-
Constructor Details
-
PointerEventImpl
Constructor for PointerEventImpl.
- Parameters:
params
- event constructor parameters
-
-
Method Details
-
getTangentialPressure
public float getTangentialPressure()Description copied from interface:PointerEvent
The tangentialPressure read-only property of the PointerEvent interface represents the normalized tangential pressure of the pointer input (also known as barrel pressure or cylinder stress).- Specified by:
getTangentialPressure
in interfacePointerEvent
- See Also:
-
getTwist
public int getTwist()Description copied from interface:PointerEvent
The twist read-only property of the PointerEvent interface represents the clockwise rotation of the pointer (e.g., pen stylus) around its major axis, in degrees.- Specified by:
getTwist
in interfacePointerEvent
- See Also:
-
toString
- Overrides:
toString
in classMouseEventImpl
-