| org.jfree.data.xy.AbstractXYDataset org.jfree.data.xy.AbstractIntervalXYDataset org.jfree.data.xy.XIntervalSeriesCollection
Method Summary | |
public void | addSeries(XIntervalSeries series) Adds a series to the collection and sends a
DatasetChangeEvent
to all registered listeners. | public Object | clone() Returns a clone of this instance. | public boolean | equals(Object obj) Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public Number | getEndX(int series, int item) Returns the end x-value for an item within a series. | public Number | getEndY(int series, int item) Returns the end y-value for an item within a series. | public int | getItemCount(int series) Returns the number of items in the specified series.
Parameters: series - the series (zero-based index). | public XIntervalSeries | getSeries(int series) Returns a series from the collection.
Parameters: series - the series index (zero-based). | public int | getSeriesCount() Returns the number of series in the collection. | public Comparable | getSeriesKey(int series) Returns the key for a series.
Parameters: series - the series index (in the range 0 to getSeriesCount() - 1 ). | public Number | getStartX(int series, int item) Returns the start x-value for an item within a series. | public Number | getStartY(int series, int item) Returns the start y-value for an item within a series. | public Number | getX(int series, int item) Returns the x-value for an item within a series.
Parameters: series - the series index. Parameters: item - the item index. | public Number | getY(int series, int item) Returns the y-value for an item within a series.
Parameters: series - the series index. Parameters: item - the item index. |
XIntervalSeriesCollection | public XIntervalSeriesCollection()(Code) | | Creates a new instance of XIntervalSeriesCollection .
|
addSeries | public void addSeries(XIntervalSeries series)(Code) | | Adds a series to the collection and sends a
DatasetChangeEvent
to all registered listeners.
Parameters: series - the series (null not permitted). |
equals | public boolean equals(Object obj)(Code) | | Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getEndX | public Number getEndX(int series, int item)(Code) | | Returns the end x-value for an item within a series.
Parameters: series - the series index. Parameters: item - the item index. The x-value. |
getEndY | public Number getEndY(int series, int item)(Code) | | Returns the end y-value for an item within a series. This method
maps directly to
XIntervalSeriesCollection.getY(int,int) .
Parameters: series - the series index. Parameters: item - the item index. The end y-value. |
getItemCount | public int getItemCount(int series)(Code) | | Returns the number of items in the specified series.
Parameters: series - the series (zero-based index). The item count. throws: IllegalArgumentException - if series is not in therange 0 to getSeriesCount() - 1 . |
getSeries | public XIntervalSeries getSeries(int series)(Code) | | Returns a series from the collection.
Parameters: series - the series index (zero-based). The series. throws: IllegalArgumentException - if series is not in therange 0 to getSeriesCount() - 1 . |
getSeriesCount | public int getSeriesCount()(Code) | | Returns the number of series in the collection.
The series count. |
getSeriesKey | public Comparable getSeriesKey(int series)(Code) | | Returns the key for a series.
Parameters: series - the series index (in the range 0 to getSeriesCount() - 1 ). The key for a series. throws: IllegalArgumentException - if series is not in thespecified range. |
getStartX | public Number getStartX(int series, int item)(Code) | | Returns the start x-value for an item within a series.
Parameters: series - the series index. Parameters: item - the item index. The x-value. |
getStartY | public Number getStartY(int series, int item)(Code) | | Returns the start y-value for an item within a series. This method
maps directly to
XIntervalSeriesCollection.getY(int,int) .
Parameters: series - the series index. Parameters: item - the item index. The start y-value. |
getX | public Number getX(int series, int item)(Code) | | Returns the x-value for an item within a series.
Parameters: series - the series index. Parameters: item - the item index. The x-value. |
getY | public Number getY(int series, int item)(Code) | | Returns the y-value for an item within a series.
Parameters: series - the series index. Parameters: item - the item index. The y-value. |
Methods inherited from org.jfree.data.xy.AbstractIntervalXYDataset | public double getEndXValue(int series, int item)(Code)(Java Doc) public double getEndYValue(int series, int item)(Code)(Java Doc) public double getStartXValue(int series, int item)(Code)(Java Doc) public double getStartYValue(int series, int item)(Code)(Java Doc)
|
|
|