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

java.lang.Object
  extended by ca.sqlpower.wabit.swingui.chart.effect.AbstractChartAnimatorFactory
All Implemented Interfaces:
ChartAnimatorFactory
Direct Known Subclasses:
BarChartAnimatorFactory, PieChartAnimatorFactory, ScatterChartAnimatorFactory

public abstract class AbstractChartAnimatorFactory
extends java.lang.Object
implements ChartAnimatorFactory

Provides some useful features for implementations of ChartAnimatorFactory to inherit.


Constructor Summary
AbstractChartAnimatorFactory()
           
 
Method Summary
 int getFrameCount()
          Returns the number of frames that the animations created by this factory will run for.
 int getFrameDelay()
          Returns the number of milliseconds between frames of the animations created by this factory.
 void setFrameCount(int frameCount)
          Sets the number of frames that the animations created by this factory will run for.
 void setFrameDelay(int frameDelay)
          Sets the number of milliseconds that should be between frames of the animations created by this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.sqlpower.wabit.swingui.chart.effect.ChartAnimatorFactory
canAnimate, createAnimator
 

Constructor Detail

AbstractChartAnimatorFactory

public AbstractChartAnimatorFactory()
Method Detail

getFrameDelay

public int getFrameDelay()
Description copied from interface: ChartAnimatorFactory
Returns the number of milliseconds between frames of the animations created by this factory.

Specified by:
getFrameDelay in interface ChartAnimatorFactory

setFrameDelay

public void setFrameDelay(int frameDelay)
Description copied from interface: ChartAnimatorFactory
Sets the number of milliseconds that should be between frames of the animations created by this factory. Factories have useful defaults, so you don't need to call this method unless you want to customize the animation.

Specified by:
setFrameDelay in interface ChartAnimatorFactory

getFrameCount

public int getFrameCount()
Description copied from interface: ChartAnimatorFactory
Returns the number of frames that the animations created by this factory will run for.

Specified by:
getFrameCount in interface ChartAnimatorFactory

setFrameCount

public void setFrameCount(int frameCount)
Description copied from interface: ChartAnimatorFactory
Sets the number of frames that the animations created by this factory will run for. Factories have useful defaults, so you don't need to call this method unless you want to customize the animation.

Specified by:
setFrameCount in interface ChartAnimatorFactory


Copyright © 2009. All Rights Reserved.