|
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.SimGraph
Graph base class for the simulation toolkit. Provides methods to set the type of chart, its properties, and display the chart appropriately. A user should not need to use this class under normal circumstances.
| Field Summary | |
protected jclass.chart.JCChart |
chart
Deprecated. |
protected JFrame |
f
Deprecated. |
| Constructor Summary | |
SimGraph(int type)
Deprecated. Construct a graph of the specified type - type is defined in the JCChart class. |
|
| Method Summary | |
void |
addDataSource(Graphable source,
int view)
Deprecated. Adds a data source to this graph. |
void |
display()
Deprecated. Displays this graph. |
void |
dispose()
Deprecated. Dispose of this graph. |
jclass.chart.JCChart |
getChart()
Deprecated. Returns the JCChart that a SimGraph wraps |
abstract Statistics |
getModel()
Deprecated. Get the this graph's model |
void |
setAxisTitles(String xTitle,
String yTitle)
Deprecated. Sets the axis titles |
void |
setFooter(String footer)
Deprecated. Sets the graphs footer |
void |
setGraphBackground(Color color)
Deprecated. Sets the graph's background color |
void |
setGraphForeground(Color color)
Deprecated. Sets the graph's foreground color. |
void |
setHeader(String header)
Deprecated. Sets the graphs header |
void |
setTitle(String title)
Deprecated. Sets the graph's title |
void |
setXAxisMax(double max)
Deprecated. Sets the x axis max value |
void |
setXAxisMin(double min)
Deprecated. Sets the x axis min value |
void |
setXAxisMinMax(double min,
double max)
Deprecated. Sets the x axis min and max values |
void |
setXAxisTitle(String xTitle)
Deprecated. Sets the x axis title |
void |
setYAxisMax(double max)
Deprecated. Sets the y axis max value |
void |
setYAxisMin(double min)
Deprecated. Sets the y axis min value |
void |
setYAxisMinMax(double min,
double max)
Deprecated. Sets the y axis min and max values |
void |
setYAxisTitle(String yTitle)
Deprecated. Sets the y axis title |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected jclass.chart.JCChart chart
protected JFrame f
| Constructor Detail |
public SimGraph(int type)
| Method Detail |
public void setTitle(String title)
public abstract Statistics getModel()
public void setAxisTitles(String xTitle,
String yTitle)
public void setXAxisTitle(String xTitle)
public void setYAxisTitle(String yTitle)
public void setXAxisMinMax(double min,
double max)
public void setYAxisMinMax(double min,
double max)
public void setYAxisMin(double min)
public void setYAxisMax(double max)
public void setXAxisMin(double min)
public void setXAxisMax(double max)
public void setFooter(String footer)
public void setHeader(String header)
public void setGraphBackground(Color color)
public void setGraphForeground(Color color)
public jclass.chart.JCChart getChart()
public void addDataSource(Graphable source,
int view)
public void display()
public void dispose()
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||