jas.hist
Class XML2DScatterDataSource

java.lang.Object
  |
  +--java.util.Observable
        |
        +--jas.hist.XML2DScatterDataSource
All Implemented Interfaces:
DataSource, ScatterPlotSource, java.io.Serializable

public class XML2DScatterDataSource
extends java.util.Observable
implements ScatterPlotSource, java.io.Serializable

See Also:
Serialized Form

Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
XML2DScatterDataSource(int p_xAxisType, int p_yAxisType, java.lang.String p_title, double[][] p_data)
           
 
Method Summary
 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 xMin, double xMax, double yMin, double yMax)
          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
 

Constructor Detail

XML2DScatterDataSource

public XML2DScatterDataSource(int p_xAxisType,
                              int p_yAxisType,
                              java.lang.String p_title,
                              double[][] p_data)
Method Detail

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

startEnumeration

public ScatterEnumeration startEnumeration(double xMin,
                                           double xMax,
                                           double yMin,
                                           double yMax)
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

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

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