Class AnimationIterationEvent
java.lang.Object
com.oorian.messaging.events.Event<AnimationListener>
com.oorian.messaging.events.client.ClientEvent<AnimationListener>
com.oorian.messaging.events.client.AnimationEvent
com.oorian.messaging.events.client.AnimationIterationEvent
Represents an animation iteration event that occurs when a CSS animation completes one iteration.
- Since:
- 2026
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAnimationIterationEvent(String animationName, float elapsedTime, String pseudoElement) Constructs a new AnimationIterationEvent with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatchTo(AnimationListener listener) Dispatches this event to the specified listener for processing.Methods inherited from class com.oorian.messaging.events.client.AnimationEvent
getAnimationName, getElapsedTime, getPseudoElementMethods inherited from class com.oorian.messaging.events.client.ClientEvent
getSource, getTarget, setSource, setTarget
-
Constructor Details
-
AnimationIterationEvent
Constructs a new AnimationIterationEvent with the specified parameters.- Parameters:
animationName- the name of the CSS animationelapsedTime- the elapsed time in seconds since the animation startedpseudoElement- the pseudo-element the animation runs on (empty string if none)
-
-
Method Details
-
dispatchTo
Dispatches this event to the specified listener for processing.- Specified by:
dispatchToin classEvent<AnimationListener>- Parameters:
listener- the listener to which this event should be dispatched
-