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
Constructors -
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.doubleThe 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, setUIEventParamsMethods 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, setReturnValueMethods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:AnimationEventThe AnimationEvent.animationName read-only property is a DOMString containing the value of the animation-name CSS property associated with the transition.- Specified by:
getAnimationNamein interfaceAnimationEvent- See Also:
-
getElapsedTime
public double getElapsedTime()Description copied from interface:AnimationEventThe 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:
getElapsedTimein interfaceAnimationEvent- See Also:
-
getPseudoElement
Description copied from interface:AnimationEventThe 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:
getPseudoElementin interfaceAnimationEvent- See Also:
-
toString
- Overrides:
toStringin classUIEventImpl
-