Public Member Functions | |
| XYZSeriesCollection () | |
| Constructs an empty dataset. | |
| XYZSeriesCollection (XYZSeries series) | |
| Constructs a dataset and populates it with a single time series. | |
| void | addSeries (XYZSeries series) |
| Adds a series to the collection. | |
| int | getSeriesCount () |
| Returns the number of series in the collection. | |
| List | getSeries () |
| Returns a list of all the series in the collection. | |
| XYZSeries | getSeries (int series) |
| Returns a series. | |
| String | getSeriesName (int series) |
| Returns the name of a series. | |
| int | getItemCount (int series) |
| Returns the number of items in the specified series. | |
| Number | getXValue (int series, int item) |
| Returns the x-value for the specified series and item. | |
| Number | getYValue (int series, int index) |
| Returns the y-value for the specified series and item. | |
| void | removeAllSeries () |
| Removes all the series from the collection. | |
| void | removeSeries (XYZSeries series) |
| Removes a series from the collection. | |
| void | removeSeries (int series) |
| Removes a series from the collection. | |
| boolean | equals (Object obj) |
| Tests this collection for equality with an arbitrary object. | |
| Number | getZValue (int series, int index) |
| Returns the z-value for the specified series and item. | |
Private Attributes | |
| List | data |
| The series that are included in the collection. | |
I, Lora E. Murphy, am only the author in the weakest possible sense. I got this wholesale from the JFreeChart package - XYSeriesCollection.java. I merely added the method for getZValue so that this implements the XYZDataset interface.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| datavisualizer::XYZSeriesCollection::XYZSeriesCollection | ( | ) | [inline] |
Constructs an empty dataset.
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
| datavisualizer::XYZSeriesCollection::XYZSeriesCollection | ( | XYZSeries | series | ) | [inline] |
Constructs a dataset and populates it with a single time series.
| series | the time series. Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
| void datavisualizer::XYZSeriesCollection::addSeries | ( | XYZSeries | series | ) | [inline] |
Adds a series to the collection.
Notifies all registered listeners that the dataset has changed.
| series | the series. Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
| boolean datavisualizer::XYZSeriesCollection::equals | ( | Object | obj | ) | [inline] |
Tests this collection for equality with an arbitrary object.
| obj | the object. |
| int datavisualizer::XYZSeriesCollection::getItemCount | ( | int | series | ) | [inline] |
Returns the number of items in the specified series.
| series | the series (zero-based index). |
| XYZSeries datavisualizer::XYZSeriesCollection::getSeries | ( | int | series | ) | [inline] |
Returns a series.
| series | the series (zero-based index). |
| List datavisualizer::XYZSeriesCollection::getSeries | ( | ) | [inline] |
Returns a list of all the series in the collection.
| int datavisualizer::XYZSeriesCollection::getSeriesCount | ( | ) | [inline] |
Returns the number of series in the collection.
| String datavisualizer::XYZSeriesCollection::getSeriesName | ( | int | series | ) | [inline] |
Returns the name of a series.
| series | the series (zero-based index). |
| Number datavisualizer::XYZSeriesCollection::getXValue | ( | int | series, | |
| int | item | |||
| ) | [inline] |
Returns the x-value for the specified series and item.
| series | the series (zero-based index). | |
| item | the item (zero-based index). |
| Number datavisualizer::XYZSeriesCollection::getYValue | ( | int | series, | |
| int | index | |||
| ) | [inline] |
Returns the y-value for the specified series and item.
| series | the series (zero-based index). | |
| index | the index of the item of interest (zero-based). |
| Number datavisualizer::XYZSeriesCollection::getZValue | ( | int | series, | |
| int | index | |||
| ) | [inline] |
Returns the z-value for the specified series and item.
| series | the series (zero-based index). | |
| index | the index of the item of interest (zero-based). |
| void datavisualizer::XYZSeriesCollection::removeAllSeries | ( | ) | [inline] |
Removes all the series from the collection.
Notifies all registered listeners that the dataset has changed.
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
| void datavisualizer::XYZSeriesCollection::removeSeries | ( | int | series | ) | [inline] |
Removes a series from the collection.
Notifies all registered listeners that the dataset has changed.
| series | the series (zero based index). Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
| void datavisualizer::XYZSeriesCollection::removeSeries | ( | XYZSeries | series | ) | [inline] |
Removes a series from the collection.
Notifies all registered listeners that the dataset has changed.
| series | the series. Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
1.4.7