Package org.loboevolution.html.js.events
Class AnimationEventImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.js.events.EventImpl
org.loboevolution.html.js.events.UIEventImpl
org.loboevolution.html.js.events.AnimationEventImpl
- All Implemented Interfaces:
AnimationEvent
,Event
,UIEvent
,ScriptableDelegate
AnimationEventImpl class.
-
Field Summary
Fields inherited from interface org.loboevolution.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE, NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe AnimationEvent.animationName read-only property is a DOMString containing the value of the animation-name CSS property associated with the transition.double
The AnimationEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused.The AnimationEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on.toString()
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
-
Constructor Details
-
AnimationEventImpl
Constructor for AnimationEventImpl.
- Parameters:
params
- event constructor parameters
-
-
Method Details
-
getAnimationName
Description copied from interface:AnimationEvent
The AnimationEvent.animationName read-only property is a DOMString containing the value of the animation-name CSS property associated with the transition.- Specified by:
getAnimationName
in interfaceAnimationEvent
- See Also:
-
getElapsedTime
public double getElapsedTime()Description copied from interface:AnimationEvent
The AnimationEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an animationstart event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing (-1 * delay).- Specified by:
getElapsedTime
in interfaceAnimationEvent
- See Also:
-
getPseudoElement
Description copied from interface:AnimationEvent
The AnimationEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''.- Specified by:
getPseudoElement
in interfaceAnimationEvent
- See Also:
-
toString
- Overrides:
toString
in classUIEventImpl
-