public class DeviceMotionEvent extends Event
| Modifier and Type | Field and Description |
|---|---|
net.java.html.lib.Objs.Property<DeviceAcceleration> |
acceleration |
net.java.html.lib.Objs.Property<DeviceAcceleration> |
accelerationIncludingGravity |
net.java.html.lib.Objs.Property<Number> |
interval |
net.java.html.lib.Objs.Property<DeviceRotationRate> |
rotationRate |
AT_TARGET, bubbles, BUBBLING_PHASE, cancelable, cancelBubble, CAPTURING_PHASE, currentTarget, defaultPrevented, eventPhase, isTrusted, returnValue, srcElement, target, timeStamp, type| Modifier | Constructor and Description |
|---|---|
protected |
DeviceMotionEvent(net.java.html.lib.Objs.Constructor<?> c,
Object js) |
| Modifier and Type | Method and Description |
|---|---|
static DeviceMotionEvent |
$as(Object obj) |
DeviceAcceleration |
acceleration() |
DeviceAcceleration |
accelerationIncludingGravity() |
void |
initDeviceMotionEvent(String type,
Boolean bubbles,
Boolean cancelable,
DeviceAccelerationDict acceleration,
DeviceAccelerationDict accelerationIncludingGravity,
DeviceRotationRateDict rotationRate,
double interval) |
Number |
interval() |
DeviceRotationRate |
rotationRate() |
AT_TARGET, bubbles, BUBBLING_PHASE, cancelable, cancelBubble, CAPTURING_PHASE, currentTarget, defaultPrevented, eventPhase, initEvent, isTrusted, preventDefault, returnValue, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, type$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOfpublic net.java.html.lib.Objs.Property<DeviceAcceleration> acceleration
public net.java.html.lib.Objs.Property<DeviceAcceleration> accelerationIncludingGravity
public net.java.html.lib.Objs.Property<Number> interval
public net.java.html.lib.Objs.Property<DeviceRotationRate> rotationRate
protected DeviceMotionEvent(net.java.html.lib.Objs.Constructor<?> c,
Object js)
public static DeviceMotionEvent $as(Object obj)
public DeviceAcceleration acceleration()
public DeviceAcceleration accelerationIncludingGravity()
public Number interval()
public DeviceRotationRate rotationRate()
public void initDeviceMotionEvent(String type, Boolean bubbles, Boolean cancelable, DeviceAccelerationDict acceleration, DeviceAccelerationDict accelerationIncludingGravity, DeviceRotationRateDict rotationRate, double interval)
Copyright © 2021. All rights reserved.