Package repast.simphony.chart2
Class ColorSetter
java.lang.Object
repast.simphony.chart2.ColorSetter
- All Implemented Interfaces:
EventListener
,org.jfree.data.general.DatasetChangeListener
Sets the series' colors as they are added.
- Author:
- Nick Collier
-
Constructor Summary
ConstructorDescriptionColorSetter
(org.jfree.chart.renderer.xy.XYLineAndShapeRenderer renderer, TimeSeriesChartDescriptor descriptor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
datasetChanged
(org.jfree.data.general.DatasetChangeEvent evt)
-
Constructor Details
-
ColorSetter
public ColorSetter(org.jfree.chart.renderer.xy.XYLineAndShapeRenderer renderer, TimeSeriesChartDescriptor descriptor)
-
-
Method Details
-
datasetChanged
public void datasetChanged(org.jfree.data.general.DatasetChangeEvent evt) - Specified by:
datasetChanged
in interfaceorg.jfree.data.general.DatasetChangeListener
-