|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChartAnimatorFactory
Defines the general contract for classes that create animators for JFreeChart instances.
| Method Summary | |
|---|---|
boolean |
canAnimate(org.jfree.chart.JFreeChart chart)
Returns true if this chart animation factory can animate the given chart. |
ChartAnimator |
createAnimator(org.jfree.chart.JFreeChart chart)
Creates a new chart animator for the given chart. |
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. |
| Method Detail |
|---|
boolean canAnimate(org.jfree.chart.JFreeChart chart)
chart - The chart in question
chart; false otherwise.
ChartAnimator createAnimator(org.jfree.chart.JFreeChart chart)
throws CantAnimateException
chart - The chart to animate. Some aspects of the chart may be
permanently modified as a side effect of this call (for
example, disable autoranging on a bar chart's category axis),
but no Swing timers will have been started.
CantAnimateException - if canAnimate(JFreeChart) would return false for the
given chart.int getFrameDelay()
void setFrameDelay(int frameDelay)
int getFrameCount()
void setFrameCount(int frameCount)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||