edu.ucla.stat.SOCR.util
Class Database

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

public class Database
extends java.lang.Object


Constructor Summary
Database(int xSize, int ySize, java.awt.Color Col)
           
 
Method Summary
 void clearPoints()
           
 java.awt.Color getPointColor(int i)
           
 int getXSize()
           
 int getXStart()
           
 int getYSize()
           
 int getYStart()
           
 int nPoints()
           
 void paint(java.awt.Graphics g)
           
 void paint(java.awt.Graphics g, java.awt.Color[] _pointColors)
           
 void push(int newx, int newy)
           
 void push(int newx, int newy, java.awt.Color _newColor)
           
 void randomPoints(int n)
           
 void setPointColor(int i, java.awt.Color _newColor)
           
 void setStarts(int _xStart, int _yStart)
           
 void setXSize(int xSize)
           
 void setYSize(int ySize)
           
 int xVal(int i)
           
 int 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(int xSize,
                int ySize,
                java.awt.Color Col)
Method Detail

paint

public void paint(java.awt.Graphics g)

paint

public void paint(java.awt.Graphics g,
                  java.awt.Color[] _pointColors)

push

public void push(int newx,
                 int newy)

push

public void push(int newx,
                 int newy,
                 java.awt.Color _newColor)

clearPoints

public void clearPoints()

setStarts

public void setStarts(int _xStart,
                      int _yStart)

getXStart

public int getXStart()

getYStart

public int getYStart()

setXSize

public void setXSize(int xSize)

getXSize

public int getXSize()

setYSize

public void setYSize(int ySize)

getYSize

public int getYSize()

randomPoints

public void randomPoints(int n)

nPoints

public int nPoints()

xVal

public int xVal(int i)

yVal

public int yVal(int i)

getPointColor

public java.awt.Color getPointColor(int i)

setPointColor

public void setPointColor(int i,
                          java.awt.Color _newColor)