|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.analysis.AbstractChartModel
| Field Summary | |
protected ArrayList |
dataSources
|
protected static String |
SEQ_GIF
|
protected SimModel |
simModel
|
protected String |
title
|
protected String |
xAxisTitle
|
protected double |
xRangeIncr
|
protected double |
xRangeMax
|
protected double |
xRangeMin
|
protected String |
yAxisTitle
|
protected double |
yRangeIncr
|
protected double |
yRangeMax
|
protected double |
yRangeMin
|
| Constructor Summary | |
AbstractChartModel(SimModel model)
Creates an AbstractChartModel. |
|
| Method Summary | |
abstract AbstractChartModel |
copy()
|
protected AbstractChartModel |
copy(AbstractChartModel aCopy)
Returns a deep copy of this AbstractChartModel. |
abstract OpenGraph |
createChart()
|
ArrayList |
getDataSources()
Returns an ArrayList of GuiChartDataSource objects. |
abstract Icon |
getIcon()
|
abstract ArrayList |
getModelDataSources()
|
SimModel |
getSimModel()
Returns the SimModel associated with this AbstractChartModel. |
String |
getTitle()
Returns the title for the chart produced by this AbstractChartModel. |
abstract String |
getType()
|
String |
getXAxisTitle()
Gets the x-axis title for the chart produced by this AbstractChartModel. |
protected String |
getXML()
Returns an XML string of the attributes of this AbstractChartModel. |
double |
getXRangeIncr()
Gets the amount to increment the displayed x-axis range when autoscaling the the chart produced by this AbstractChartModel. |
double |
getXRangeMax()
Gets the initial maximum value for the x-axis of the chart produced by this AbstractChartModel. |
double |
getXRangeMin()
Gets the initial minimum value for the x-axis of the chart produced by this AbstractChartModel. |
String |
getYAxisTitle()
Gets the y-axis title for the chart produced by this AbstractChartModel. |
double |
getYRangeIncr()
Sets the amount to increment the displayed y-axis range when autoscaling the the chart produced by this AbstractChartModel. |
double |
getYRangeMax()
Gets the initial maximum value for the y-axis of the chart produced by this AbstractChartModel. |
double |
getYRangeMin()
Gets the initial minimum value for the y-axis of the chart produced by this AbstractChartModel. |
void |
setDataSources(ArrayList dataSources)
Sets the list of GuiChartDataSource objects. |
void |
setTitle(String title)
Sets the title for the chart produced by this AbstractChartModel. |
void |
setXAxisTitle(String xAxisTitle)
Sets the x-axis title for the chart produced by this AbstractChartModel. |
void |
setXRangeIncr(double xRangeIncr)
Sets the amount to increment the displayed x-axis range when autoscaling the the chart produced by this AbstractChartModel. |
void |
setXRangeIncr(String xRangeIncr)
Sets the amount to increment the displayed x-axis range when autoscaling the the chart produced by this AbstractChartModel. |
void |
setXRangeMax(double xRangeMax)
Sets the initial maximum value for the x-axis of the chart produced by this AbstractChartModel. |
void |
setXRangeMax(String xRangeMax)
Sets the initial maximum value for the x-axis of the chart produced by this AbstractChartModel. |
void |
setXRangeMin(double xRangeMin)
Sets the initial minimum value for the x-axis of the chart produced by this AbstractChartModel. |
void |
setXRangeMin(String xRangeMin)
Sets the initial minimum value for the x-axis of the chart produced by this AbstractChartModel. |
void |
setYAxisTitle(String yAxisTitle)
Sets the y-axis title for the chart produced by this AbstractChartModel. |
void |
setYRangeIncr(double yRangeIncr)
Sets the amount to increment the displayed y-axis range when autoscaling the the chart produced by this AbstractChartModel. |
void |
setYRangeIncr(String yRangeIncr)
Sets the amount to increment the displayed y-axis range when autoscaling the the chart produced by this AbstractChartModel. |
void |
setYRangeMax(double yRangeMax)
Sets the initial maximum value for the y-axis of the chart produced by this AbstractChartModel. |
void |
setYRangeMax(String yRangeMax)
Sets the initial maximum value for the y-axis of the chart produced by this AbstractChartModel. |
void |
setYRangeMin(double yRangeMin)
Sets the initial minimum value for the y-axis of the chart produced by this AbstractChartModel. |
void |
setYRangeMin(String yRangeMin)
Sets the initial minimum value for the y-axis of the chart produced by this AbstractChartModel. |
abstract String |
toXML()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final String SEQ_GIF
protected String title
protected String xAxisTitle
protected String yAxisTitle
protected double xRangeMin
protected double xRangeMax
protected double xRangeIncr
protected double yRangeMin
protected double yRangeMax
protected double yRangeIncr
protected SimModel simModel
protected ArrayList dataSources
| Constructor Detail |
public AbstractChartModel(SimModel model)
model - the SimModel associated with this AbstractChartModel| Method Detail |
public abstract String getType()
public abstract AbstractChartModel copy()
public abstract ArrayList getModelDataSources()
public abstract Icon getIcon()
public abstract OpenGraph createChart()
public abstract String toXML()
protected AbstractChartModel copy(AbstractChartModel aCopy)
aCopy - the subclass object to copy.
public SimModel getSimModel()
public String getTitle()
public void setTitle(String title)
title - the title for the chart produced by this model.public String getXAxisTitle()
public void setXAxisTitle(String xAxisTitle)
xAxisTitle - the x-axis titlepublic String getYAxisTitle()
public void setYAxisTitle(String yAxisTitle)
yAxisTitle - the y-axis titlepublic double getXRangeMin()
public void setXRangeMin(String xRangeMin)
xRangeMin - the minimum x-axis valuepublic void setXRangeMin(double xRangeMin)
xRangeMin - the minimum x-axis valuepublic double getXRangeMax()
public void setXRangeMax(String xRangeMax)
xRangeMax - the maximum x-axis valuepublic void setXRangeMax(double xRangeMax)
xRangeMax - the maximum x-axis valuepublic double getXRangeIncr()
public void setXRangeIncr(String xRangeIncr)
xRangeIncr - the x-axis range incrementpublic void setXRangeIncr(double xRangeIncr)
xRangeIncr - the x-axis range incrementpublic double getYRangeMin()
public void setYRangeMin(String yRangeMin)
yRangeMin - the minimum x-axis valuepublic void setYRangeMin(double yRangeMin)
yRangeMin - the minimum x-axis valuepublic double getYRangeMax()
public void setYRangeMax(String yRangeMax)
yRangeMax - the maximum x-axis valuepublic void setYRangeMax(double yRangeMax)
yRangeMax - the maximum x-axis valuepublic double getYRangeIncr()
public void setYRangeIncr(String yRangeIncr)
yRangeIncr - the y-axis range incrementpublic void setYRangeIncr(double yRangeIncr)
yRangeIncr - the y-axis range incrementpublic ArrayList getDataSources()
public void setDataSources(ArrayList dataSources)
dataSources - GuiChartDataSources for this AbstractChartModelprotected String getXML()
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||