public abstract class Animator extends java.lang.Object implements Disposable
Disposable.Parent
Constructor and Description |
---|
Animator(java.lang.String name,
int totalFrames,
int cycleDuration,
boolean repeatable) |
Animator(java.lang.String name,
int totalFrames,
int cycleDuration,
boolean repeatable,
boolean forward) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
boolean |
isDisposed() |
boolean |
isForward() |
boolean |
isRunning() |
protected void |
paintCycleEnd() |
abstract void |
paintNow(int frame,
int totalFrames,
int cycle) |
void |
reset() |
void |
resume() |
void |
suspend() |
java.lang.String |
toString() |
public Animator(java.lang.String name, int totalFrames, int cycleDuration, boolean repeatable)
public Animator(java.lang.String name, int totalFrames, int cycleDuration, boolean repeatable, boolean forward)
protected void paintCycleEnd()
public void suspend()
public void resume()
public abstract void paintNow(int frame, int totalFrames, int cycle)
public void dispose()
Disposable
dispose
in interface Disposable
public boolean isRunning()
public void reset()
public final boolean isForward()
public boolean isDisposed()
public java.lang.String toString()
toString
in class java.lang.Object