jas.hist.test
Class TestScatterPlotSource

java.lang.Object
  |
  +--java.util.Observable
        |
        +--jas.hist.test.TestScatterPlotSource
All Implemented Interfaces:
DataSource, ScatterPlotSource

public class TestScatterPlotSource
extends java.util.Observable
implements ScatterPlotSource


Field Summary
protected  double[] x
           
protected  double[] y
           
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
TestScatterPlotSource()
           
TestScatterPlotSource(int delay)
           
 
Method Summary
 void clearChanges()
           
 Statistics getStatistics()
           
 java.lang.String getTitle()
          Return the caption to be used in the legend for this data.
 int getXAxisType()
          Currently we only support DATE and DOUBLE types
 double getXMax()
           
 double getXMin()
           
 int getYAxisType()
          Currently we only support DOUBLE
 double getYMax()
           
 double getYMin()
           
 ScatterEnumeration startEnumeration()
          Starts the enumeration of points from the beginning, and the enumeration will include all points stored in the partition.
 ScatterEnumeration startEnumeration(double a, double b, double c, double d)
          Starts the enumeration of points from the beginning, and the enumeration will include only points in the given range.
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected double[] x

y

protected double[] y
Constructor Detail

TestScatterPlotSource

public TestScatterPlotSource(int delay)

TestScatterPlotSource

public TestScatterPlotSource()
Method Detail

startEnumeration

public ScatterEnumeration startEnumeration()
Description copied from interface: ScatterPlotSource
Starts the enumeration of points from the beginning, and the enumeration will include all points stored in the partition.
Specified by:
startEnumeration in interface ScatterPlotSource

startEnumeration

public ScatterEnumeration startEnumeration(double a,
                                           double b,
                                           double c,
                                           double d)
Description copied from interface: ScatterPlotSource
Starts the enumeration of points from the beginning, and the enumeration will include only points in the given range.
Specified by:
startEnumeration in interface ScatterPlotSource

getTitle

public java.lang.String getTitle()
Description copied from interface: DataSource
Return the caption to be used in the legend for this data.
Specified by:
getTitle in interface DataSource

getXMin

public double getXMin()
Specified by:
getXMin in interface ScatterPlotSource

getXMax

public double getXMax()
Specified by:
getXMax in interface ScatterPlotSource

getYMin

public double getYMin()
Specified by:
getYMin in interface ScatterPlotSource

getYMax

public double getYMax()
Specified by:
getYMax in interface ScatterPlotSource

getXAxisType

public int getXAxisType()
Description copied from interface: ScatterPlotSource
Currently we only support DATE and DOUBLE types
Specified by:
getXAxisType in interface ScatterPlotSource

getYAxisType

public int getYAxisType()
Description copied from interface: ScatterPlotSource
Currently we only support DOUBLE
Specified by:
getYAxisType in interface ScatterPlotSource

getStatistics

public Statistics getStatistics()

clearChanges

public void clearChanges()