com.swfm.mica.animators
Class MiPropogateColorAnimator

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

public class MiPropogateColorAnimator
extends MiPartAnimator

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

Constructor Summary
MiPropogateColorAnimator(MiPart subjects, boolean forward, boolean cycleFillColor, java.awt.Color color)
           
MiPropogateColorAnimator(MiPart subjects, java.awt.Color color)
           
 
Method Summary
 void animate(double startOfStep, double endOfStep)
          Animates for the given time slice.
 void cycleEditorContents()
           
 void cycleObjectContents()
           
 void start()
          This is called in order for this animator to do any setup required
 
Methods inherited from class com.swfm.mica.animators.MiPartAnimator
end, getDuration, getEnabled, getOnlyRunWhenSubjectVisible, getPacer, getStepTime, getSubject, isAnimatingForward, isAtEnd, isScheduled, resetStepTimer, resetTimer, schedule, scheduleAndWait, setDuration, setEnabled, setIsAnimatingForward, setOnlyRunWhenSubjectVisible, setPacer, setStepTime, setSubject, unschedule
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiPropogateColorAnimator

public MiPropogateColorAnimator(MiPart subjects,
                                java.awt.Color color)

MiPropogateColorAnimator

public MiPropogateColorAnimator(MiPart subjects,
                                boolean forward,
                                boolean cycleFillColor,
                                java.awt.Color color)
Method Detail

start

public void start()
Description copied from class: MiPartAnimator
This is called in order for this animator to do any setup required

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

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.

Parameters:
startOfStep - the beginning of the time slice
endOfStep - the end of the time slice

cycleEditorContents

public void cycleEditorContents()

cycleObjectContents

public void cycleObjectContents()