org.jfree.data
Interface IntervalXYDataset

All Superinterfaces:
Dataset, SeriesDataset, XYDataset
All Known Implementing Classes:
CombinedDataset, DynamicTimeSeriesCollection, SubSeriesDataset, TimePeriodValuesCollection, TimeSeriesCollection

public interface IntervalXYDataset
extends XYDataset

An extension of the XYDataset interface that allows a range of data to be defined for the X values, the Y values, or both the X and Y values.

This versatile interface will be used to support (among other things) bar plots against numerical axes.

Author:
Mark Watson

Method Summary
 java.lang.Number getEndXValue(int series, int item)
          Returns the ending X value for the specified series and item.
 java.lang.Number getEndYValue(int series, int item)
          Returns the ending Y value for the specified series and item.
 java.lang.Number getStartXValue(int series, int item)
          Returns the starting X value for the specified series and item.
 java.lang.Number getStartYValue(int series, int item)
          Returns the starting Y value for the specified series and item.
 
Methods inherited from interface org.jfree.data.XYDataset
getItemCount, getXValue, getYValue
 
Methods inherited from interface org.jfree.data.SeriesDataset
getSeriesCount, getSeriesName
 
Methods inherited from interface org.jfree.data.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
 

Method Detail

getStartXValue

public java.lang.Number getStartXValue(int series,
                                       int item)
Returns the starting X value for the specified series and item.

Parameters:
series - the series (zero-based index).
item - the item within a series (zero-based index).
Returns:
the starting X value for the specified series and item.

getEndXValue

public java.lang.Number getEndXValue(int series,
                                     int item)
Returns the ending X value for the specified series and item.

Parameters:
series - the series (zero-based index).
item - the item within a series (zero-based index).
Returns:
the ending X value for the specified series and item.

getStartYValue

public java.lang.Number getStartYValue(int series,
                                       int item)
Returns the starting Y value for the specified series and item.

Parameters:
series - the series (zero-based index).
item - the item within a series (zero-based index).
Returns:
starting Y value for the specified series and item.

getEndYValue

public java.lang.Number getEndYValue(int series,
                                     int item)
Returns the ending Y value for the specified series and item.

Parameters:
series - the series (zero-based index).
item - the item within a series (zero-based index).
Returns:
the ending Y value for the specified series and item.