|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.data.AbstractDataset
org.jfree.data.AbstractSeriesDataset
org.jfree.data.MatrixSeriesCollection
Represents a collection of MatrixSeries that can be used as a dataset.
MatrixSeries
,
Serialized FormConstructor Summary | |
MatrixSeriesCollection()
Constructs an empty dataset. |
|
MatrixSeriesCollection(MatrixSeries series)
Constructs a dataset and populates it with a single matrix series. |
Method Summary | |
void |
addSeries(MatrixSeries series)
Adds a series to the collection. |
boolean |
equals(java.lang.Object obj)
Tests this collection for equality with an arbitrary object. |
int |
getItemCount(int seriesIndex)
Returns the number of items in the specified series. |
MatrixSeries |
getSeries(int seriesIndex)
Returns the series having the specified index. |
int |
getSeriesCount()
Returns the number of series in the collection. |
java.lang.String |
getSeriesName(int seriesIndex)
Returns the name of a series. |
java.lang.Number |
getXValue(int seriesIndex,
int itemIndex)
Returns the j index value of the specified Mij matrix item in the specified matrix series. |
java.lang.Number |
getYValue(int seriesIndex,
int itemIndex)
Returns the i index value of the specified Mij matrix item in the specified matrix series. |
java.lang.Number |
getZValue(int seriesIndex,
int itemIndex)
Returns the Mij item value of the specified Mij matrix item in the specified matrix series. |
void |
removeAllSeries()
Removes all the series from the collection. |
void |
removeSeries(int seriesIndex)
Removes a series from the collection. |
void |
removeSeries(MatrixSeries series)
Removes a series from the collection. |
Methods inherited from class org.jfree.data.AbstractSeriesDataset |
seriesChanged |
Methods inherited from class org.jfree.data.AbstractDataset |
addChangeListener, clone, fireDatasetChanged, getGroup, notifyListeners, removeChangeListener, setGroup, validateObject |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jfree.data.Dataset |
addChangeListener, getGroup, removeChangeListener, setGroup |
Constructor Detail |
public MatrixSeriesCollection()
public MatrixSeriesCollection(MatrixSeries series)
series
- the time series.Method Detail |
public int getItemCount(int seriesIndex)
getItemCount
in interface XYDataset
seriesIndex
- zero-based series index.
public MatrixSeries getSeries(int seriesIndex)
seriesIndex
- zero-based series index.
java.lang.IllegalArgumentException
public int getSeriesCount()
getSeriesCount
in interface SeriesDataset
getSeriesCount
in class AbstractSeriesDataset
public java.lang.String getSeriesName(int seriesIndex)
getSeriesName
in interface SeriesDataset
getSeriesName
in class AbstractSeriesDataset
seriesIndex
- zero-based series index.
public java.lang.Number getXValue(int seriesIndex, int itemIndex)
getXValue
in interface XYDataset
seriesIndex
- zero-based series index.itemIndex
- zero-based item index.
XYDataset.getXValue(int, int)
public java.lang.Number getYValue(int seriesIndex, int itemIndex)
getYValue
in interface XYDataset
seriesIndex
- zero-based series index.itemIndex
- zero-based item index.
XYDataset.getYValue(int, int)
public java.lang.Number getZValue(int seriesIndex, int itemIndex)
getZValue
in interface XYZDataset
seriesIndex
- the series (zero-based index).itemIndex
- zero-based item index.
XYZDataset.getZValue(int, int)
public void addSeries(MatrixSeries series)
Notifies all registered listeners that the dataset has changed.
series
- the series.
java.lang.IllegalArgumentException
public boolean equals(java.lang.Object obj)
obj
- the object.
public void removeAllSeries()
Notifies all registered listeners that the dataset has changed.
public void removeSeries(MatrixSeries series)
Notifies all registered listeners that the dataset has changed.
series
- the series.
java.lang.IllegalArgumentException
public void removeSeries(int seriesIndex)
Notifies all registered listeners that the dataset has changed.
seriesIndex
- the series (zero based index).
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |