guru.animator
Class BaseAnimator

java.lang.Object
  extended by guru.animator.BaseAnimator
All Implemented Interfaces:
Animator
Direct Known Subclasses:
Delay, LinearAnimator, RootAnimator, SquareAnimator

public abstract class BaseAnimator
extends java.lang.Object
implements Animator


Constructor Summary
BaseAnimator(long dur, float start, float end)
           
 
Method Summary
 void addAnimationListener(AnimationListener al)
           
abstract  float f(float d, float start, float stop)
           
 float get()
           
 boolean isDone()
           
 boolean isRunning()
           
 void reset()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAnimator

public BaseAnimator(long dur,
                    float start,
                    float end)
Method Detail

start

public void start()
Specified by:
start in interface Animator

get

public float get()
Specified by:
get in interface Animator

f

public abstract float f(float d,
                        float start,
                        float stop)

isRunning

public boolean isRunning()
Specified by:
isRunning in interface Animator

reset

public void reset()
Specified by:
reset in interface Animator

isDone

public boolean isDone()
Specified by:
isDone in interface Animator

addAnimationListener

public void addAnimationListener(AnimationListener al)
Specified by:
addAnimationListener in interface Animator