edu.ucla.stat.SOCR.util
Class Database
java.lang.Object
edu.ucla.stat.SOCR.util.Database
public class Database
- extends java.lang.Object
Constructor Summary |
Database(int xSize,
int ySize,
java.awt.Color Col)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Database
public Database(int xSize,
int ySize,
java.awt.Color Col)
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)