EventListener
public interface AnimatorListener extends EventListener
Modifier and Type | Method | Description |
---|---|---|
void |
animationEnds(Component component) |
Called when the animation sequence ends.
|
void |
animationFrame(Component component,
int totalStep,
int step) |
Called when the animation sequence runs at certain step..
|
void |
animationStarts(Component component) |
Called when the animation sequence starts.
|
void animationStarts(Component component)
component
- the component for this animationvoid animationFrame(Component component, int totalStep, int step)
component
- the component for this animationtotalStep
- the total stepsstep
- the current stepvoid animationEnds(Component component)
component
- the component for this animation