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
|
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 |
x
protected double[] x
y
protected double[] y
TestScatterPlotSource
public TestScatterPlotSource(int delay)
TestScatterPlotSource
public TestScatterPlotSource()
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()