org.jfree.data.xy
public class VectorSeriesCollection extends AbstractXYDataset implements VectorXYDataset, PublicCloneable, Serializable
Since: 1.0.6
Constructor Summary | |
---|---|
VectorSeriesCollection()
Creates a new instance of VectorSeriesCollection . |
Method Summary | |
---|---|
void | addSeries(VectorSeries series)
Adds a series to the collection and sends a DatasetChangeEvent
to all registered listeners.
|
Object | clone()
Returns a clone of this instance.
|
boolean | equals(Object obj)
Tests this instance for equality with an arbitrary object.
|
int | getItemCount(int series)
Returns the number of items in the specified series.
|
VectorSeries | getSeries(int series)
Returns a series from the collection.
|
int | getSeriesCount()
Returns the number of series in the collection.
|
Comparable | getSeriesKey(int series)
Returns the key for a series.
|
Vector | getVector(int series, int item)
Returns the vector for an item in a series.
|
double | getVectorXValue(int series, int item)
Returns the x-component of the vector for an item in a series.
|
double | getVectorYValue(int series, int item)
Returns the y-component of the vector for an item in a series.
|
Number | getX(int series, int item)
Returns the x-value for an item within a series. |
double | getXValue(int series, int item)
Returns the x-value for an item within a series.
|
Number | getY(int series, int item)
Returns the y-value for an item within a series. |
double | getYValue(int series, int item)
Returns the y-value for an item within a series.
|
int | indexOf(VectorSeries series)
Returns the index of the specified series, or -1 if that series is not
present in the dataset.
|
void | removeAllSeries()
Removes all the series from the collection and sends a
DatasetChangeEvent to all registered listeners. |
boolean | removeSeries(VectorSeries series)
Removes the specified series from the collection and sends a
DatasetChangeEvent to all registered listeners.
|
VectorSeriesCollection
.Parameters: series the series (null
not permitted).
Returns: A clone.
Throws: CloneNotSupportedException if there is a problem.
Parameters: obj the object (null
permitted).
Returns: A boolean.
Parameters: series the series (zero-based index).
Returns: The item count.
Throws: IllegalArgumentException if series
is not in the
range 0
to getSeriesCount() - 1
.
Parameters: series the series index (zero-based).
Returns: The series.
Throws: IllegalArgumentException if series
is not in the
range 0
to getSeriesCount() - 1
.
Returns: The series count.
Parameters: series the series index (in the range 0
to
getSeriesCount() - 1
).
Returns: The key for a series.
Throws: IllegalArgumentException if series
is not in the
specified range.
Parameters: series the series index. item the item index.
Returns: The vector (possibly null
).
Parameters: series the series index. item the item index.
Returns: The x-component of the vector.
Parameters: series the series index. item the item index.
Returns: The y-component of the vector.
Parameters: series the series index. item the item index.
Returns: The x-value.
Parameters: series the series index. item the item index.
Returns: The x-value.
Parameters: series the series index. item the item index.
Returns: The y-value.
Parameters: series the series index. item the item index.
Returns: The y-value.
Parameters: series the series (null
not permitted).
Returns: The series index.
Parameters: series the series (null
not permitted).
Returns: A boolean indicating whether the series has actually been removed.