Save This Page
Home » jcommon-1.0.13 » org.jfree » data » xy » [javadoc | source]
org.jfree.data.xy
public class: VectorSeriesCollection [javadoc | source]
java.lang.Object
   org.jfree.data.general.AbstractDataset
      org.jfree.data.general.AbstractSeriesDataset
         org.jfree.data.xy.AbstractXYDataset
            org.jfree.data.xy.VectorSeriesCollection

All Implemented Interfaces:
    PublicCloneable, VectorXYDataset, Serializable, XYDataset, SeriesDataset, SeriesChangeListener, Cloneable, Dataset, ObjectInputValidation

A collection of VectorSeries objects.
Constructor:
 public VectorSeriesCollection() 
Method from org.jfree.data.xy.VectorSeriesCollection Summary:
addSeries,   clone,   equals,   getItemCount,   getSeries,   getSeriesCount,   getSeriesKey,   getVector,   getVectorXValue,   getVectorYValue,   getX,   getXValue,   getY,   getYValue,   indexOf,   removeAllSeries,   removeSeries
Methods from org.jfree.data.xy.AbstractXYDataset:
getDomainOrder,   getXValue,   getYValue
Methods from org.jfree.data.general.AbstractSeriesDataset:
getSeriesCount,   getSeriesKey,   indexOf,   seriesChanged
Methods from org.jfree.data.general.AbstractDataset:
addChangeListener,   clone,   fireDatasetChanged,   getGroup,   hasListener,   notifyListeners,   removeChangeListener,   setGroup,   validateObject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.data.xy.VectorSeriesCollection Detail:
 public  void addSeries(VectorSeries series) 
    Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners.
 public Object clone() throws CloneNotSupportedException 
    Returns a clone of this instance.
 public boolean equals(Object obj) 
    Tests this instance for equality with an arbitrary object.
 public int getItemCount(int series) 
    Returns the number of items in the specified series.
 public VectorSeries getSeries(int series) 
    Returns a series from the collection.
 public int getSeriesCount() 
    Returns the number of series in the collection.
 public Comparable getSeriesKey(int series) 
    Returns the key for a series.
 public Vector getVector(int series,
    int item) 
    Returns the vector for an item in a series.
 public double getVectorXValue(int series,
    int item) 
    Returns the x-component of the vector for an item in a series.
 public double getVectorYValue(int series,
    int item) 
    Returns the y-component of the vector for an item in a series.
 public Number getX(int series,
    int item) 
    Returns the x-value for an item within a series. Note that this method creates a new Double instance every time it is called---use #getXValue(int, int) instead, if possible.
 public double getXValue(int series,
    int item) 
    Returns the x-value for an item within a series.
 public Number getY(int series,
    int item) 
    Returns the y-value for an item within a series. Note that this method creates a new Double instance every time it is called---use #getYValue(int, int) instead, if possible.
 public double getYValue(int series,
    int item) 
    Returns the y-value for an item within a series.
 public int indexOf(VectorSeries series) 
    Returns the index of the specified series, or -1 if that series is not present in the dataset.
 public  void removeAllSeries() 
    Removes all the series from the collection and sends a DatasetChangeEvent to all registered listeners.
 public boolean removeSeries(VectorSeries series) 
    Removes the specified series from the collection and sends a DatasetChangeEvent to all registered listeners.