public interface Animation
extends java.awt.event.ActionListener
Modifier and Type | Method and Description |
---|---|
int |
getDelay()
Returns the number of milliseconds desired between frames of animation.
|
java.awt.image.BufferedImage |
getImage()
Returns the static image associated with this animation.
|
java.awt.Point |
getLocation()
Returns the coordinate of the top left corner of the animation.
|
boolean |
isActive()
Returns true if the component should continue to be allowed to animate.
|
void |
remove()
Removes this animation from the component it's in.
|
void |
setComponent(javax.swing.JComponent component)
Sets the Component in which this animation will take place.
|
boolean isActive()
int getDelay()
java.awt.image.BufferedImage getImage()
void setComponent(javax.swing.JComponent component)
component
- void remove()
java.awt.Point getLocation()