Purple Code

com.purpletech.graph
Class IntegerGraphModel

java.lang.Object
  |
  +--com.purpletech.graph.IntegerGraphModel
All Implemented Interfaces:
GraphModel

public class IntegerGraphModel
extends java.lang.Object
implements GraphModel

Version:
$Id: IntegerGraphModel.java,v 1.2 2001/10/30 12:20:51 alex Exp $

Field Summary
protected  java.util.Collection data
           
protected  Range xrange
           
protected  Range yrange
           
 
Constructor Summary
IntegerGraphModel(java.util.Collection data)
           
IntegerGraphModel(java.util.Collection data, MinMax mmX, MinMax mmY)
           
 
Method Summary
protected  void calcMinMax(java.util.Collection data)
           
 java.util.Collection getData()
           
 Range getXRange()
           
 Range getYRange()
           
protected  void makeAxes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xrange

protected Range xrange

yrange

protected Range yrange

data

protected java.util.Collection data
Constructor Detail

IntegerGraphModel

public IntegerGraphModel(java.util.Collection data)

IntegerGraphModel

public IntegerGraphModel(java.util.Collection data,
                         MinMax mmX,
                         MinMax mmY)
Method Detail

getXRange

public Range getXRange()
Specified by:
getXRange in interface GraphModel

getYRange

public Range getYRange()
Specified by:
getYRange in interface GraphModel

getData

public java.util.Collection getData()
Specified by:
getData in interface GraphModel

calcMinMax

protected void calcMinMax(java.util.Collection data)

makeAxes

protected void makeAxes()

Documentation generated March 5 2003