|
Header
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.data.general.AbstractDataset
org.jfree.data.general.AbstractSeriesDataset
org.jfree.data.xy.AbstractXYDataset
org.jfree.data.xy.AbstractXYZDataset
org.jfree.data.xy.MatrixSeriesCollection
public class MatrixSeriesCollection
Represents a collection of MatrixSeries that can be used as a
dataset.
MatrixSeries,
Serialized Form| Constructor 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. |
java.lang.Object |
clone()
Returns a clone of this instance. |
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.Comparable |
getSeriesKey(int seriesIndex)
Returns the key for a series. |
java.lang.Number |
getX(int seriesIndex,
int itemIndex)
Returns the j index value of the specified Mij matrix item in the specified matrix series. |
java.lang.Number |
getY(int seriesIndex,
int itemIndex)
Returns the i index value of the specified Mij matrix item in the specified matrix series. |
java.lang.Number |
getZ(int seriesIndex,
int itemIndex)
Returns the Mij item value of the specified Mij matrix item in the specified matrix series. |
int |
hashCode()
Returns a hash code. |
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.xy.AbstractXYZDataset |
|---|
getZValue |
| Methods inherited from class org.jfree.data.xy.AbstractXYDataset |
|---|
getDomainOrder, getXValue, getYValue |
| Methods inherited from class org.jfree.data.general.AbstractSeriesDataset |
|---|
indexOf, seriesChanged |
| Methods inherited from class org.jfree.data.general.AbstractDataset |
|---|
addChangeListener, fireDatasetChanged, getGroup, hasListener, notifyListeners, removeChangeListener, setGroup, validateObject |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfree.data.xy.XYZDataset |
|---|
getZValue |
| Methods inherited from interface org.jfree.data.xy.XYDataset |
|---|
getDomainOrder, getXValue, getYValue |
| Methods inherited from interface org.jfree.data.general.SeriesDataset |
|---|
indexOf |
| Methods inherited from interface org.jfree.data.general.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 XYDatasetseriesIndex - zero-based series index.
public MatrixSeries getSeries(int seriesIndex)
seriesIndex - zero-based series index.
java.lang.IllegalArgumentExceptionpublic int getSeriesCount()
getSeriesCount in interface SeriesDatasetgetSeriesCount in class AbstractSeriesDatasetpublic java.lang.Comparable getSeriesKey(int seriesIndex)
getSeriesKey in interface SeriesDatasetgetSeriesKey in class AbstractSeriesDatasetseriesIndex - zero-based series index.
public java.lang.Number getX(int seriesIndex,
int itemIndex)
getX in interface XYDatasetseriesIndex - zero-based series index.itemIndex - zero-based item index.
XYDataset.getXValue(int, int)
public java.lang.Number getY(int seriesIndex,
int itemIndex)
getY in interface XYDatasetseriesIndex - zero-based series index.itemIndex - zero-based item index.
XYDataset.getYValue(int, int)
public java.lang.Number getZ(int seriesIndex,
int itemIndex)
getZ in interface XYZDatasetseriesIndex - 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.IllegalArgumentExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object.
public int hashCode()
hashCode in class java.lang.Object
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneableclone in class AbstractDatasetjava.lang.CloneNotSupportedException - if there is a problem.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.IllegalArgumentExceptionpublic void removeSeries(int seriesIndex)
Notifies all registered listeners that the dataset has changed.
seriesIndex - the series (zero based index).
java.lang.IllegalArgumentException
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||