RePast
v. 2.0

uchicago.src.sim.analysis
Class SimGraph

java.lang.Object
  |
  +--uchicago.src.sim.analysis.SimGraph
Direct Known Subclasses:
SequenceGraph

public abstract class SimGraph
extends Object

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

chart

protected jclass.chart.JCChart chart
Deprecated. 

f

protected JFrame f
Deprecated. 
Constructor Detail

SimGraph

public SimGraph(int type)
Deprecated. 
Construct a graph of the specified type - type is defined in the JCChart class.

Method Detail

setTitle

public void setTitle(String title)
Deprecated. 
Sets the graph's title


getModel

public abstract Statistics getModel()
Deprecated. 
Get the this graph's model


setAxisTitles

public void setAxisTitles(String xTitle,
                          String yTitle)
Deprecated. 
Sets the axis titles


setXAxisTitle

public void setXAxisTitle(String xTitle)
Deprecated. 
Sets the x axis title


setYAxisTitle

public void setYAxisTitle(String yTitle)
Deprecated. 
Sets the y axis title


setXAxisMinMax

public void setXAxisMinMax(double min,
                           double max)
Deprecated. 
Sets the x axis min and max values


setYAxisMinMax

public void setYAxisMinMax(double min,
                           double max)
Deprecated. 
Sets the y axis min and max values


setYAxisMin

public void setYAxisMin(double min)
Deprecated. 
Sets the y axis min value


setYAxisMax

public void setYAxisMax(double max)
Deprecated. 
Sets the y axis max value


setXAxisMin

public void setXAxisMin(double min)
Deprecated. 
Sets the x axis min value


setXAxisMax

public void setXAxisMax(double max)
Deprecated. 
Sets the x axis max value


setFooter

public void setFooter(String footer)
Deprecated. 
Sets the graphs footer


setHeader

public void setHeader(String header)
Deprecated. 
Sets the graphs header


setGraphBackground

public void setGraphBackground(Color color)
Deprecated. 
Sets the graph's background color


setGraphForeground

public void setGraphForeground(Color color)
Deprecated. 
Sets the graph's foreground color.


getChart

public jclass.chart.JCChart getChart()
Deprecated. 
Returns the JCChart that a SimGraph wraps


addDataSource

public void addDataSource(Graphable source,
                          int view)
Deprecated. 
Adds a data source to this graph.


display

public void display()
Deprecated. 
Displays this graph.


dispose

public void dispose()
Deprecated. 
Dispose of this graph.


RePast
v. 2.0

Bug reports and feature requests to RePast