Package repast.simphony.chart2
Class HistogramChartCreator
- java.lang.Object
-
- repast.simphony.chart2.AbstractChartCreator
-
- repast.simphony.chart2.HistogramChartCreator
-
- All Implemented Interfaces:
ChartCreator<HistogramChartDescriptor>
public class HistogramChartCreator extends AbstractChartCreator implements ChartCreator<HistogramChartDescriptor>
ChartCreator for creating histogram charts.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description HistogramChartCreator(AbstractHistogramDataset data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
createChartComponent(HistogramChartDescriptor descriptor)
Creates and returns the chart components.void
reset()
Resets the creator prior to creating a chart.
-
-
-
Constructor Detail
-
HistogramChartCreator
public HistogramChartCreator(AbstractHistogramDataset data)
-
-
Method Detail
-
createChartComponent
public JComponent createChartComponent(HistogramChartDescriptor descriptor)
Description copied from interface:ChartCreator
Creates and returns the chart components.- Specified by:
createChartComponent
in interfaceChartCreator<HistogramChartDescriptor>
- Returns:
- the created chart components.
-
reset
public void reset()
Description copied from interface:ChartCreator
Resets the creator prior to creating a chart.- Specified by:
reset
in interfaceChartCreator<HistogramChartDescriptor>
-
-