com.swfm.mica.animators
Class MiPanAndZoomAnimator

java.lang.Object
  extended bycom.swfm.mica.animators.MiPanAndZoomAnimator
All Implemented Interfaces:
MiiAnimatable

public class MiPanAndZoomAnimator
extends java.lang.Object
implements MiiAnimatable

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

Constructor Summary
MiPanAndZoomAnimator(MiEditor editor)
           
MiPanAndZoomAnimator(MiEditor editor, long stepTime, long duration)
           
 
Method Summary
 void animate(double startOfStep, double endOfStep)
          Animates for the given time slice.
 void end()
          Clean up after animation.
 void setWorld(MiBounds world)
           
 void start()
          Initialize before animation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiPanAndZoomAnimator

public MiPanAndZoomAnimator(MiEditor editor)

MiPanAndZoomAnimator

public MiPanAndZoomAnimator(MiEditor editor,
                            long stepTime,
                            long duration)
Method Detail

setWorld

public void setWorld(MiBounds world)

start

public void start()
Initialize before animation.

Specified by:
start in interface MiiAnimatable

animate

public void animate(double startOfStep,
                    double endOfStep)
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. This method ignores the start and end.

Specified by:
animate in interface MiiAnimatable
Parameters:
startOfStep - the beginning of the time slice
endOfStep - the end of the time slice

end

public void end()
Clean up after animation. This animator is automatically removed from the MiAnimationManager.

Specified by:
end in interface MiiAnimatable