jas2.hist.test
Class TestScatterPlotSource
- java.lang.Object
-
- java.util.Observable
-
- jas2.hist.test.TestScatterPlotSource
-
- All Implemented Interfaces:
- DataSource, ScatterPlotSource
public class TestScatterPlotSource extends java.util.Observable implements ScatterPlotSource
-
-
Constructor Summary
Constructors Constructor and Description TestScatterPlotSource()TestScatterPlotSource(int delay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclearChanges()StatisticsgetStatistics()java.lang.StringgetTitle()Return the caption to be used in the legend for this data.intgetXAxisType()Currently we only support DATE and DOUBLE typesdoublegetXMax()doublegetXMin()intgetYAxisType()Currently we only support DOUBLEdoublegetYMax()doublegetYMin()ScatterEnumerationstartEnumeration()Starts the enumeration of points from the beginning, and the enumeration will include all points stored in the partition.ScatterEnumerationstartEnumeration(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.
-
-
-
Constructor Detail
-
TestScatterPlotSource
public TestScatterPlotSource(int delay)
-
TestScatterPlotSource
public TestScatterPlotSource()
-
-
Method Detail
-
startEnumeration
public ScatterEnumeration startEnumeration()
Description copied from interface:ScatterPlotSourceStarts the enumeration of points from the beginning, and the enumeration will include all points stored in the partition.- Specified by:
startEnumerationin interfaceScatterPlotSource
-
startEnumeration
public ScatterEnumeration startEnumeration(double a, double b, double c, double d)
Description copied from interface:ScatterPlotSourceStarts the enumeration of points from the beginning, and the enumeration will include only points in the given range.- Specified by:
startEnumerationin interfaceScatterPlotSource
-
getTitle
public java.lang.String getTitle()
Description copied from interface:DataSourceReturn the caption to be used in the legend for this data.- Specified by:
getTitlein interfaceDataSource
-
getXMin
public double getXMin()
- Specified by:
getXMinin interfaceScatterPlotSource
-
getXMax
public double getXMax()
- Specified by:
getXMaxin interfaceScatterPlotSource
-
getYMin
public double getYMin()
- Specified by:
getYMinin interfaceScatterPlotSource
-
getYMax
public double getYMax()
- Specified by:
getYMaxin interfaceScatterPlotSource
-
getXAxisType
public int getXAxisType()
Description copied from interface:ScatterPlotSourceCurrently we only support DATE and DOUBLE types- Specified by:
getXAxisTypein interfaceScatterPlotSource
-
getYAxisType
public int getYAxisType()
Description copied from interface:ScatterPlotSourceCurrently we only support DOUBLE- Specified by:
getYAxisTypein interfaceScatterPlotSource
-
getStatistics
public Statistics getStatistics()
-
clearChanges
public void clearChanges()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG