org.jscience.chemistry.vapor.util.chart
Class Dataset

java.lang.Object
  extended by org.jscience.chemistry.vapor.util.chart.Dataset

public class Dataset
extends java.lang.Object

Dataset class for charting tool.


Constructor Summary
Dataset(int numOfPoints)
          Creates a new Dataset object.
 
Method Summary
 java.awt.Color getLineColor()
          DOCUMENT ME!
 double getMaxX()
          DOCUMENT ME!
 double getMaxY()
          DOCUMENT ME!
 double getMinX()
          DOCUMENT ME!
 double getMinY()
          DOCUMENT ME!
 int getNumOfPoints()
          DOCUMENT ME!
 java.awt.geom.Point2D.Double getValue(int index)
          DOCUMENT ME!
 void setLineColor(java.awt.Color lineColor)
          DOCUMENT ME!
 void setValue(int index, double x, double y)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dataset

public Dataset(int numOfPoints)
Creates a new Dataset object.

Parameters:
numOfPoints - DOCUMENT ME!
Method Detail

getNumOfPoints

public int getNumOfPoints()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getValue

public java.awt.geom.Point2D.Double getValue(int index)
DOCUMENT ME!

Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!

setValue

public void setValue(int index,
                     double x,
                     double y)
DOCUMENT ME!

Parameters:
index - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!

getLineColor

public java.awt.Color getLineColor()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setLineColor

public void setLineColor(java.awt.Color lineColor)
DOCUMENT ME!

Parameters:
lineColor - DOCUMENT ME!

getMinX

public double getMinX()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMaxX

public double getMaxX()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMinY

public double getMinY()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMaxY

public double getMaxY()
DOCUMENT ME!

Returns:
DOCUMENT ME!