ca.sqlpower.wabit.swingui.chart.effect
Class PieChartAnimator

java.lang.Object
  extended by ca.sqlpower.wabit.swingui.chart.effect.AbstractChartAnimator
      extended by ca.sqlpower.wabit.swingui.chart.effect.PieChartAnimator
All Implemented Interfaces:
ChartAnimator

public class PieChartAnimator
extends AbstractChartAnimator


Constructor Summary
PieChartAnimator(int frameCount, int frameDelay, org.jfree.chart.plot.MultiplePiePlot mpplot, Interpolator spinInterpolator, Interpolator alphaInterpolator)
           
 
Method Summary
protected  void doFrame(int frame, double pct)
          Subclasses define their actual animation behaviour by overriding this method.
 
Methods inherited from class ca.sqlpower.wabit.swingui.chart.effect.AbstractChartAnimator
getFrameCount, setup, startAnimation, stopAnimation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieChartAnimator

public PieChartAnimator(int frameCount,
                        int frameDelay,
                        org.jfree.chart.plot.MultiplePiePlot mpplot,
                        Interpolator spinInterpolator,
                        Interpolator alphaInterpolator)
Method Detail

doFrame

protected void doFrame(int frame,
                       double pct)
Description copied from class: AbstractChartAnimator
Subclasses define their actual animation behaviour by overriding this method.

Specified by:
doFrame in class AbstractChartAnimator
Parameters:
frame - The current frame number (of AbstractChartAnimator.getFrameCount())
pct - The percentage (between 0.0 and 1.0 inclusive) of the way that the current frame is.


Copyright © 2009. All Rights Reserved.