org.jfree.data.xy
Class XIntervalSeriesCollection
- Cloneable, Dataset, EventListener, IntervalXYDataset, ObjectInputValidation, Serializable, SeriesChangeListener, SeriesDataset, XYDataset
void | addSeries(XIntervalSeries 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.
|
Number | getEndX(int series, int item)- Returns the end x-value for an item within a series.
|
Number | getEndY(int series, int item)- Returns the end y-value for an item within a series.
|
int | getItemCount(int series)- Returns the number of items in the specified series.
|
XIntervalSeries | 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.
|
Number | getStartX(int series, int item)- Returns the start x-value for an item within a series.
|
Number | getStartY(int series, int item)- Returns the start y-value for an item within a series.
|
Number | getX(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.
|
clone
public Object clone()
throws CloneNotSupportedException Returns a clone of this instance.
- clone in interface AbstractDataset
equals
public boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.
obj - the object (null permitted).
getEndX
public Number getEndX(int series,
int item) Returns the end x-value for an item within a series.
- getEndX in interface IntervalXYDataset
series - the series index.item - the item index.
getEndY
public Number getEndY(int series,
int item) Returns the end y-value for an item within a series. This method
maps directly to
getY(int,int).
- getEndY in interface IntervalXYDataset
series - the series index.item - the item index.
getItemCount
public int getItemCount(int series)
Returns the number of items in the specified series.
- getItemCount in interface XYDataset
series - the series (zero-based index).
getSeries
public XIntervalSeries getSeries(int series)
Returns a series from the collection.
series - the series index (zero-based).
getStartX
public Number getStartX(int series,
int item) Returns the start x-value for an item within a series.
- getStartX in interface IntervalXYDataset
series - the series index.item - the item index.
getStartY
public Number getStartY(int series,
int item) Returns the start y-value for an item within a series. This method
maps directly to
getY(int,int).
- getStartY in interface IntervalXYDataset
series - the series index.item - the item index.
getX
public Number getX(int series,
int item) Returns the x-value for an item within a series.
- getX in interface XYDataset
series - the series index.item - the item index.
getY
public Number getY(int series,
int item) Returns the y-value for an item within a series.
- getY in interface XYDataset
series - the series index.item - the item index.