com.swfm.mica.animators
Class MiSimpleTimer

java.lang.Object
  extended bycom.swfm.mica.animators.MiAnimator
      extended bycom.swfm.mica.animators.MiSimpleTimer
All Implemented Interfaces:
MiiAnimatable, MiiAnimator

public class MiSimpleTimer
extends MiAnimator

Version:
%I% %G%
Author:
Michael L. Davis

Field Summary
   
Constructor Summary
MiSimpleTimer(MiiCommandHandler target, java.lang.String command, long stepTime)
           
 
Method Summary
 void animate(double startOfStep, double endOfStep)
          Animates for the given time slice.
 void end()
          Clean up after animation.
 void start()
          Initialize before animation.
 
Methods inherited from class com.swfm.mica.animators.MiAnimator
getDuration, getEnabled, getLifeCycle, getPacer, getStartTime, getStepTime, setDuration, setEnabled, setPacer, setStepTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiSimpleTimer

public MiSimpleTimer(MiiCommandHandler target,
                     java.lang.String command,
                     long stepTime)
Method Detail

start

public void start()
Description copied from interface: MiiAnimatable
Initialize before animation.

Specified by:
start in interface MiiAnimatable
Overrides:
start in class MiAnimator

animate

public void animate(double startOfStep,
                    double endOfStep)
Description copied from interface: MiiAnimatable
Animates for the given time slice. The beginning and end are normalized (0.0 to 1.0), 0.0 being the start of the animation and 1.0 the end.

Specified by:
animate in interface MiiAnimatable
Overrides:
animate in class MiAnimator

end

public void end()
Description copied from interface: MiiAnimatable
Clean up after animation.

Specified by:
end in interface MiiAnimatable
Overrides:
end in class MiAnimator