Package repast.simphony.chart2.engine
Class HistogramChartDescriptor
- java.lang.Object
-
- repast.simphony.scenario.AbstractDescriptor
-
- repast.simphony.chart2.engine.ChartDescriptor
-
- repast.simphony.chart2.engine.HistogramChartDescriptor
-
- All Implemented Interfaces:
Descriptor
public class HistogramChartDescriptor extends ChartDescriptor
ChartDescriptor for histogram type charts.- Author:
- Nick Collier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HistogramChartDescriptor.HistogramType
-
Nested classes/interfaces inherited from class repast.simphony.chart2.engine.ChartDescriptor
ChartDescriptor.ChartType
-
-
Field Summary
-
Fields inherited from class repast.simphony.chart2.engine.ChartDescriptor
background, chartTitle, dataSet, gridLineColor, showGrid, showLegend, type, xAxisLabel, yAxisLabel
-
Fields inherited from class repast.simphony.scenario.AbstractDescriptor
scs
-
-
Constructor Summary
Constructors Constructor Description HistogramChartDescriptor(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBarColor()
int
getBinCount()
HistogramChartDescriptor.HistogramType
getHistType()
double
getMax()
double
getMin()
OutOfRangeHandling
getOutOfRangeHandling()
String
getSourceId()
void
setBarColor(Color barColor)
void
setBinCount(int binCount)
void
setHistType(HistogramChartDescriptor.HistogramType histType)
void
setMax(double max)
void
setMin(double min)
void
setOutOfRangeHandling(OutOfRangeHandling outOfRange)
void
setSourceId(String sourceId)
-
Methods inherited from class repast.simphony.chart2.engine.ChartDescriptor
doShowLegend, getBackground, getChartTitle, getDataSet, getGridLineColor, getXAxisLabel, getYAxisLabel, isShowGrid, setBackground, setChartTitle, setDataSet, setGridLineColor, setShowGrid, setShowLegend, setXAxisLabel, setYAxisLabel
-
Methods inherited from class repast.simphony.scenario.AbstractDescriptor
addScenarioChangedListener, getName, readResolve, setName
-
-
-
-
Constructor Detail
-
HistogramChartDescriptor
public HistogramChartDescriptor(String name)
-
-
Method Detail
-
getBarColor
public Color getBarColor()
- Returns:
- the barColor
-
setBarColor
public void setBarColor(Color barColor)
- Parameters:
barColor
- the barColor to set
-
getHistType
public HistogramChartDescriptor.HistogramType getHistType()
- Returns:
- the histType
-
setHistType
public void setHistType(HistogramChartDescriptor.HistogramType histType)
- Parameters:
histType
- the histType to set
-
getBinCount
public int getBinCount()
- Returns:
- the binCount
-
setBinCount
public void setBinCount(int binCount)
- Parameters:
binCount
- the binCount to set
-
getSourceId
public String getSourceId()
- Returns:
- the sourceId
-
setSourceId
public void setSourceId(String sourceId)
- Parameters:
sourceId
- the sourceId to set
-
getOutOfRangeHandling
public OutOfRangeHandling getOutOfRangeHandling()
- Returns:
- the outOfRange
-
setOutOfRangeHandling
public void setOutOfRangeHandling(OutOfRangeHandling outOfRange)
- Parameters:
outOfRange
- the outOfRange to set
-
getMin
public double getMin()
- Returns:
- the min
-
setMin
public void setMin(double min)
- Parameters:
min
- the min to set
-
getMax
public double getMax()
- Returns:
- the max
-
setMax
public void setMax(double max)
- Parameters:
max
- the max to set
-
-