public interface

VectorXYDataset

implements XYDataset
org.jfree.data.xy.VectorXYDataset
Known Indirect Subclasses

Class Overview

An extension of the XYDataset interface that allows a vector to be defined at a specific (x, y) location.

Summary

Public Methods
abstract Vector getVector(int series, int item)
Returns the vector for an item in a series.
abstract double getVectorXValue(int series, int item)
Returns the x-component of the vector for an item in a series.
abstract double getVectorYValue(int series, int item)
Returns the y-component of the vector for an item in a series.
[Expand]
Inherited Methods
From interface org.jfree.data.general.Dataset
From interface org.jfree.data.general.SeriesDataset
From interface org.jfree.data.xy.XYDataset

Public Methods

public abstract Vector getVector (int series, int item)

Returns the vector for an item in a series. Depending on the particular dataset implementation, this may involve creating a new Vector instance --- if you are just interested in the x and y components, use the getVectorXValue(int, int) and getVectorYValue(int, int) methods instead.

Parameters
series the series index.
item the item index.
Returns
  • The vector (possibly null).

public abstract double getVectorXValue (int series, int item)

Returns the x-component of the vector for an item in a series.

Parameters
series the series index.
item the item index.
Returns
  • The x-component of the vector.

public abstract double getVectorYValue (int series, int item)

Returns the y-component of the vector for an item in a series.

Parameters
series the series index.
item the item index.
Returns
  • The y-component of the vector.