Package repast.simphony.chart2.engine
Class ChartDescriptor
java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.chart2.engine.ChartDescriptor
- All Implemented Interfaces:
Descriptor
- Direct Known Subclasses:
HistogramChartDescriptor,TimeSeriesChartDescriptor
- Author:
- Nick Collier
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Colorprotected Stringprotected Stringprotected Colorprotected booleanprotected booleanprotected ChartDescriptor.ChartTypeprotected Stringprotected StringFields inherited from class repast.simphony.scenario.AbstractDescriptor
scs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetBackground(Color background) voidsetChartTitle(String chartTitle) voidsetDataSet(String dataSet) voidsetGridLineColor(Color gridLineColor) voidsetShowGrid(boolean showGrid) voidsetShowLegend(boolean val) voidsetXAxisLabel(String xAxisLabel) voidsetYAxisLabel(String yAxisLabel) Methods inherited from class repast.simphony.scenario.AbstractDescriptor
addScenarioChangedListener, getName, readResolve, setName
-
Field Details
-
dataSet
-
xAxisLabel
-
yAxisLabel
-
chartTitle
-
type
-
background
-
gridLineColor
-
showGrid
protected boolean showGrid -
showLegend
protected boolean showLegend
-
-
Constructor Details
-
ChartDescriptor
protected ChartDescriptor() -
ChartDescriptor
-
-
Method Details
-
getBackground
- Returns:
- the background
-
setBackground
- Parameters:
background- the background to set
-
getGridLineColor
- Returns:
- the gridLineColor
-
setGridLineColor
- Parameters:
gridLineColor- the gridLineColor to set
-
isShowGrid
public boolean isShowGrid()- Returns:
- the showGrid
-
setShowGrid
public void setShowGrid(boolean showGrid) - Parameters:
showGrid- the showGrid to set
-
getDataSet
- Returns:
- the dataSet
-
setDataSet
- Parameters:
dataSet- the dataSet to set
-
getXAxisLabel
- Returns:
- the xAxisLabel
-
setXAxisLabel
- Parameters:
xAxisLabel- the xAxisLabel to set
-
getYAxisLabel
- Returns:
- the yAxisLabel
-
setYAxisLabel
- Parameters:
yAxisLabel- the yAxisLabel to set
-
getChartTitle
- Returns:
- the chartTitle
-
setChartTitle
- Parameters:
chartTitle- the chartTitle to set
-
doShowLegend
public boolean doShowLegend() -
setShowLegend
public void setShowLegend(boolean val)
-