edu.ucla.stat.SOCR.chart.util
Class Database

java.lang.Object
  extended by edu.ucla.stat.SOCR.chart.util.Database

public class Database
extends java.lang.Object


Constructor Summary
Database()
           
Database(double xSize, double ySize)
           
Database(double xSize, double ySize, double xs, double ys)
           
 
Method Summary
 void clearPoints()
           
 XYSeriesCollection getDataset()
           
 java.lang.String getDbName()
           
 double getMax(double[] raw, int count)
           
 double getMin(double[] raw, int count)
           
 double getXSize()
           
 double getXStart()
           
 double getYSize()
           
 double getYStart()
           
 int nPoints()
           
 void push(double newx, double newy)
           
 void randomPoints(int n)
           
 void setDbName(java.lang.String name)
           
 void setRange()
           
 void setStarts(double _xStart, double _yStart)
           
 void setXSize(double xSize)
           
 void setYSize(double ySize)
           
 double xVal(int i)
           
 double yVal(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Database

public Database()

Database

public Database(double xSize,
                double ySize)

Database

public Database(double xSize,
                double ySize,
                double xs,
                double ys)
Method Detail

push

public void push(double newx,
                 double newy)

clearPoints

public void clearPoints()

setStarts

public void setStarts(double _xStart,
                      double _yStart)

getXStart

public double getXStart()

getYStart

public double getYStart()

setXSize

public void setXSize(double xSize)

getXSize

public double getXSize()

setYSize

public void setYSize(double ySize)

getYSize

public double getYSize()

getMin

public double getMin(double[] raw,
                     int count)

getMax

public double getMax(double[] raw,
                     int count)

setRange

public void setRange()

randomPoints

public void randomPoints(int n)

nPoints

public int nPoints()

xVal

public double xVal(int i)

yVal

public double yVal(int i)

setDbName

public void setDbName(java.lang.String name)

getDbName

public java.lang.String getDbName()

getDataset

public XYSeriesCollection getDataset()