Class AnimationIterationEvent


public class AnimationIterationEvent extends AnimationEvent
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 Details

    • AnimationIterationEvent

      public AnimationIterationEvent(String animationName, float elapsedTime, String pseudoElement)
      Constructs a new AnimationIterationEvent with the specified parameters.
      Parameters:
      animationName - the name of the CSS animation
      elapsedTime - the elapsed time in seconds since the animation started
      pseudoElement - the pseudo-element the animation runs on (empty string if none)
  • Method Details

    • dispatchTo

      public void dispatchTo(AnimationListener listener)
      Dispatches this event to the specified listener for processing.
      Specified by:
      dispatchTo in class Event<AnimationListener>
      Parameters:
      listener - the listener to which this event should be dispatched