Class AnimationEvent


public class AnimationEvent extends BrowserEvent

Animation event

This class contains the basic data, and information regarding animation events.

Through this class, the following event data can be accessed: :

  • The client, on which the event occurred
  • The ID of the component on which the event occurred
  • The component instance, on which the event occurred
  • The executed event's type
  • The event's unique ID
  • The animation name
  • The animation duration

Since:
4.0
Author:
JBStrap
  • Constructor Details

    • AnimationEvent

      public AnimationEvent()
  • Method Details

    • getAnimationName

      public String getAnimationName()
      Gets the name of the animation
      Returns:
      The name of the animation as string
    • getElapsedTime

      public Long getElapsedTime()
      Gets the duration of the animation
      Returns:
      The animation duration in seconds