Package com.jbstrap.core.event
Class AnimationEvent
java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.core.event.BrowserEvent
com.jbstrap.core.event.AnimationEvent
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the name of the animationGets the duration of the animationMethods inherited from class com.jbstrap.core.event.BrowserEvent
fireEvent, getBubbles, getCancelable, getClientId, getComposed, getDefaultPrevented, getDetail, getEventPhase, getIsTrusted, getType
Methods inherited from class com.jbstrap.core.event.BaseEvent
getClient, getComponent, getEventId, getEventType, getSenderId
-
Constructor Details
-
AnimationEvent
public AnimationEvent()
-
-
Method Details
-
getAnimationName
Gets the name of the animation- Returns:
- The name of the animation as string
-
getElapsedTime
Gets the duration of the animation- Returns:
- The animation duration in seconds
-