Package org.loboevolution.html.js.events
Class DeviceOrientationEventImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.js.events.EventImpl
org.loboevolution.html.js.events.DeviceOrientationEventImpl
- All Implemented Interfaces:
DeviceOrientationEvent
,Event
,ScriptableDelegate
-
Field Summary
Fields inherited from interface org.loboevolution.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE, NONE
-
Constructor Summary
ConstructorDescriptionDeviceOrientationEventImpl
(Object[] params) Constructor for DeviceOrientationEventImpl. -
Method Summary
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.DeviceOrientationEvent
getAlpha, getBeta, getGamma
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
-
Constructor Details
-
DeviceOrientationEventImpl
Constructor for DeviceOrientationEventImpl.
- Parameters:
params
- event constructor parameters
-
-
Method Details
-
initDeviceOrientationEvent
public void initDeviceOrientationEvent(String type, Boolean bubbles, boolean cancelable, Double alpha, Double beta, Double gamma, boolean absolute) - Specified by:
initDeviceOrientationEvent
in interfaceDeviceOrientationEvent
-
getAbsolute
public boolean getAbsolute()- Specified by:
getAbsolute
in interfaceDeviceOrientationEvent
-
toString
-