public class SeriesProvider
extends java.lang.Object
Constructor and Description |
---|
SeriesProvider()
Default constructor
|
SeriesProvider(java.lang.String seriesTitle,
java.lang.String xDataFeature,
java.lang.String yDataFeature,
java.lang.String seriesType)
Comprehensive constructor with the bare essentials for a series
|
Modifier and Type | Method and Description |
---|---|
int |
getDataHeight()
Accessor for the data height
|
double |
getDataMax()
Accessor for the data maximum
|
double |
getDataMin()
Accessor for the data minimum
|
CSVDataProvider |
getDataProvider()
Accessor for the data provider to use for this series
|
int |
getDataWidth()
Accessor for the data width
|
java.lang.String |
getSeriesTitle()
Accessor for the plot title
|
java.lang.String |
getSeriesType()
Accessor for the series type
|
double |
getTimeForDataProvider()
Accessor for the time the data provider is set for
|
double[] |
getXData()
Accessor for the xData
|
java.lang.String |
getXDataFeature()
Accessor for the x data's feature
|
double[] |
getXDataUncertainty()
Accessor for the xDataUncertainty
|
double[] |
getYData()
Accessor for the yData
|
java.lang.String |
getYDataFeature()
Accessor for the y data's feature
|
double[] |
getYDataUncertainty()
Accessor for the yDataUncertianty
|
void |
setDataMax(double max)
Mutator for the max
|
void |
setDataMin(double min)
Mutator for the min
|
void |
setDataProvider(CSVDataProvider dataProviderForSeries)
Mutator for the data provider to use for this series
|
void |
setSeriesTitle(java.lang.String seriesTitle)
Mutator for the series title
|
void |
setSeriesType(java.lang.String type)
Set the series type
|
void |
setTimeForDataProvider(double time) |
void |
setXDataFeature(java.lang.String xFeature)
Set the x data's feature
|
void |
setYDataFeature(java.lang.String yFeature)
Set the y data's feature
|
public SeriesProvider()
public SeriesProvider(java.lang.String seriesTitle, java.lang.String xDataFeature, java.lang.String yDataFeature, java.lang.String seriesType)
seriesTitle
- xDataFeature
- yDataFeature
- seriesType
- public void setDataMax(double max)
max
- public void setDataMin(double min)
min
- public void setDataProvider(CSVDataProvider dataProviderForSeries)
dataProviderForSeries
- public void setSeriesTitle(java.lang.String seriesTitle)
seriesTitle
- public void setXDataFeature(java.lang.String xFeature)
xFeature
- public void setYDataFeature(java.lang.String yFeature)
yFeature
- public void setSeriesType(java.lang.String type)
type
- public void setTimeForDataProvider(double time)
public CSVDataProvider getDataProvider()
public double getTimeForDataProvider()
public java.lang.String getSeriesTitle()
public double[] getXData()
public double[] getYData()
public java.lang.String getXDataFeature()
public java.lang.String getYDataFeature()
public java.lang.String getSeriesType()
public double[] getXDataUncertainty()
public double[] getYDataUncertainty()
public double getDataMin()
public double getDataMax()
public int getDataWidth()
public int getDataHeight()