|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.plot.DataSetJF
| Constructor Summary | |
DataSetJF(java.util.ArrayList xl,
java.util.ArrayList yl)
data set constructor for multi-curve plots without legends Data is entered in the form of ArrayLists. |
|
DataSetJF(java.util.ArrayList xl,
java.util.ArrayList yl,
java.util.ArrayList ns)
data set constructor for multi-curve plots with legends Data is entered in the form of ArrayLists. |
|
DataSetJF(double[] x,
double[] y)
|
|
| Method Summary | |
void |
addChangeListener(com.jrefinery.data.DatasetChangeListener dcl)
|
int |
getItemCount(int series)
|
int |
getSeriesCount()
|
java.lang.String |
getSeriesName(int series)
|
java.lang.Number |
getXValue(int series,
int item)
|
java.lang.Number |
getYValue(int series,
int item)
|
double |
maxX()
return the maximum of all x values |
double |
maxY()
return the maximum of all y values |
double |
minX()
return the minimum of all x values |
double |
minY()
return the minimum of all y values |
void |
removeChangeListener(com.jrefinery.data.DatasetChangeListener dcl)
|
void |
setData(java.util.ArrayList xl,
java.util.ArrayList yl)
routine to assign data from ArrayLists to local simple double [][] arrays. |
boolean |
useLegend()
whether info for a legend was supplied or not |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataSetJF(java.util.ArrayList xl,
java.util.ArrayList yl,
java.util.ArrayList ns)
throws XalException
public DataSetJF(java.util.ArrayList xl,
java.util.ArrayList yl)
throws XalException
public DataSetJF(double[] x,
double[] y)
throws XalException
| Method Detail |
public double minX()
public double maxX()
public double minY()
public double maxY()
public boolean useLegend()
public void setData(java.util.ArrayList xl,
java.util.ArrayList yl)
throws XalException
XalExceptionpublic int getSeriesCount()
getSeriesCount in interface com.jrefinery.data.SeriesDatasetpublic java.lang.String getSeriesName(int series)
getSeriesName in interface com.jrefinery.data.SeriesDatasetpublic int getItemCount(int series)
getItemCount in interface com.jrefinery.data.XYDataset
public java.lang.Number getXValue(int series,
int item)
getXValue in interface com.jrefinery.data.XYDataset
public java.lang.Number getYValue(int series,
int item)
getYValue in interface com.jrefinery.data.XYDatasetpublic void addChangeListener(com.jrefinery.data.DatasetChangeListener dcl)
addChangeListener in interface com.jrefinery.data.Datasetpublic void removeChangeListener(com.jrefinery.data.DatasetChangeListener dcl)
removeChangeListener in interface com.jrefinery.data.Dataset
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||