Class Overview
Represents a collection of MatrixSeries
that can be used as a
dataset.
Summary
Public Methods |
void
|
addSeries(MatrixSeries series)
Adds a series to the collection.
|
Object
|
clone()
Returns a clone of this instance.
|
boolean
|
equals(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.
|
Comparable
|
getSeriesKey(int seriesIndex)
Returns the key for a series.
|
Number
|
getX(int seriesIndex, int itemIndex)
Returns the j index value of the specified Mij matrix item in the
specified matrix series.
|
Number
|
getY(int seriesIndex, int itemIndex)
Returns the i index value of the specified Mij matrix item in the
specified matrix series.
|
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(MatrixSeries series)
Removes a series from the collection.
|
void
|
removeSeries(int seriesIndex)
Removes a series from the collection.
|
[Expand]
Inherited Methods |
From class
org.jfree.data.xy.AbstractXYZDataset
double
|
getZValue(int series, int item)
Returns the z-value (as a double primitive) for an item within a series.
|
|
From class
org.jfree.data.xy.AbstractXYDataset
DomainOrder
|
getDomainOrder()
Returns the order of the domain (X) values.
|
double
|
getXValue(int series, int item)
Returns the x-value (as a double primitive) for an item within a series.
|
double
|
getYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.
|
|
From class
org.jfree.data.general.AbstractSeriesDataset
|
From class
org.jfree.data.general.AbstractDataset
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.io.ObjectInputValidation
|
From interface
org.jfree.data.general.Dataset
|
From interface
org.jfree.data.general.SeriesChangeListener
|
From interface
org.jfree.data.general.SeriesDataset
abstract
int
|
getSeriesCount()
Returns the number of series in the dataset.
|
abstract
Comparable
|
getSeriesKey(int series)
Returns the key for a series.
|
abstract
int
|
indexOf(Comparable seriesKey)
Returns the index of the series with the specified key, or -1 if there
is no such series in the dataset.
|
|
From interface
org.jfree.data.xy.XYDataset
abstract
DomainOrder
|
getDomainOrder()
Returns the order of the domain (or X) values returned by the dataset.
|
abstract
int
|
getItemCount(int series)
Returns the number of items in a series.
|
abstract
Number
|
getX(int series, int item)
Returns the x-value for an item within a series.
|
abstract
double
|
getXValue(int series, int item)
Returns the x-value for an item within a series.
|
abstract
Number
|
getY(int series, int item)
Returns the y-value for an item within a series.
|
abstract
double
|
getYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.
|
|
From interface
org.jfree.data.xy.XYZDataset
abstract
Number
|
getZ(int series, int item)
Returns the z-value for the specified series and item.
|
abstract
double
|
getZValue(int series, int item)
Returns the z-value (as a double primitive) for an item within a series.
|
|
Public Constructors
public
MatrixSeriesCollection
()
Constructs an empty dataset.
public
MatrixSeriesCollection
(MatrixSeries series)
Constructs a dataset and populates it with a single matrix series.
Public Methods
public
void
addSeries
(MatrixSeries series)
Adds a series to the collection.
Notifies all registered listeners that the dataset has changed.
public
Object
clone
()
Returns a clone of this instance.
public
boolean
equals
(Object obj)
Tests this collection for equality with an arbitrary object.
public
int
getItemCount
(int seriesIndex)
Returns the number of items in the specified series.
Parameters
seriesIndex
| zero-based series index. |
Returns
- The number of items in the specified series.
public
MatrixSeries
getSeries
(int seriesIndex)
Returns the series having the specified index.
Parameters
seriesIndex
| zero-based series index. |
public
int
getSeriesCount
()
Returns the number of series in the collection.
Returns
- The number of series in the collection.
public
Comparable
getSeriesKey
(int seriesIndex)
Returns the key for a series.
Parameters
seriesIndex
| zero-based series index. |
public
Number
getX
(int seriesIndex, int itemIndex)
Returns the j index value of the specified Mij matrix item in the
specified matrix series.
Parameters
seriesIndex
| zero-based series index. |
itemIndex
| zero-based item index. |
Returns
- The j index value for the specified matrix item.
public
Number
getY
(int seriesIndex, int itemIndex)
Returns the i index value of the specified Mij matrix item in the
specified matrix series.
Parameters
seriesIndex
| zero-based series index. |
itemIndex
| zero-based item index. |
Returns
- The i index value for the specified matrix item.
public
Number
getZ
(int seriesIndex, int itemIndex)
Returns the Mij item value of the specified Mij matrix item in the
specified matrix series.
Parameters
seriesIndex
| the series (zero-based index). |
itemIndex
| zero-based item index. |
Returns
- The Mij item value for the specified matrix item.
public
void
removeAllSeries
()
Removes all the series from the collection.
Notifies all registered listeners that the dataset has changed.
public
void
removeSeries
(MatrixSeries series)
Removes a series from the collection.
Notifies all registered listeners that the dataset has changed.
public
void
removeSeries
(int seriesIndex)
Removes a series from the collection.
Notifies all registered listeners that the dataset has changed.
Parameters
seriesIndex
| the series (zero based index). |