Module org.jfree.chart
Package org.jfree.data.xy
Interface IntervalXYDataset<S extends Comparable<S>>
-
- All Superinterfaces:
Dataset,SeriesDataset<S>,XYDataset<S>
- All Known Implementing Classes:
AbstractIntervalXYDataset,CategoryTableXYDataset,DefaultIntervalXYDataset,DefaultTableXYDataset,DynamicTimeSeriesCollection,HistogramDataset,SimpleHistogramDataset,TimePeriodValuesCollection,TimeSeriesCollection,TimeTableXYDataset,XIntervalSeriesCollection,XYBarDataset,XYIntervalSeriesCollection,XYSeriesCollection,XYTaskDataset,YIntervalSeriesCollection
public interface IntervalXYDataset<S extends Comparable<S>> extends XYDataset<S>
An extension of theXYDatasetinterface that allows an x-interval and a y-interval to be defined. Note that the x and y values defined by the parent interface are NOT required to fall within these intervals. This interface is used to support (among other things) bar plots against numerical axes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NumbergetEndX(int series, int item)Returns the upper bound of the x-interval for the specified series and item.doublegetEndXValue(int series, int item)Returns the upper bound of the x-interval (as a double primitive) for the specified series and item.NumbergetEndY(int series, int item)Returns the upper bound of the y-interval for the specified series and item.doublegetEndYValue(int series, int item)Returns the upper bound of the y-interval (as a double primitive) for the specified series and item.NumbergetStartX(int series, int item)Returns the lower bound of the x-interval for the specified series and item.doublegetStartXValue(int series, int item)Returns the lower bound of the x-interval (as a double primitive) for the specified series and item.NumbergetStartY(int series, int item)Returns the lower bound of the y-interval for the specified series and item.doublegetStartYValue(int series, int item)Returns the lower bound of the y-interval (as a double primitive) for the specified series and item.-
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, removeChangeListener
-
Methods inherited from interface org.jfree.data.general.SeriesDataset
getSeriesCount, getSeriesKey, indexOf
-
Methods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getItemCount, getX, getXValue, getY, getYValue
-
-
-
-
Method Detail
-
getStartX
Number getStartX(int series, int item)
Returns the lower bound of the x-interval for the specified series and item. If this lower bound is specified, it should be less than or equal to the upper bound of the interval (if one is specified).- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The lower bound of the x-interval (
nullpermitted).
-
getStartXValue
double getStartXValue(int series, int item)
Returns the lower bound of the x-interval (as a double primitive) for the specified series and item.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The lower bound of the x-interval.
- See Also:
getStartX(int, int)
-
getEndX
Number getEndX(int series, int item)
Returns the upper bound of the x-interval for the specified series and item. If this upper bound is specified, it should be greater than or equal to the lower bound of the interval (if one is specified).- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the x-interval (
nullpermitted).
-
getEndXValue
double getEndXValue(int series, int item)
Returns the upper bound of the x-interval (as a double primitive) for the specified series and item.- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the x-interval.
- See Also:
getEndX(int, int)
-
getStartY
Number getStartY(int series, int item)
Returns the lower bound of the y-interval for the specified series and item. If this lower bound is specified, it should be less than or equal to the upper bound of the interval (if one is specified).- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The lower bound of the y-interval (
nullpermitted).
-
getStartYValue
double getStartYValue(int series, int item)
Returns the lower bound of the y-interval (as a double primitive) for the specified series and item.- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The lower bound of the y-interval.
- See Also:
getStartY(int, int)
-
getEndY
Number getEndY(int series, int item)
Returns the upper bound of the y-interval for the specified series and item. If this upper bound is specified, it should be greater than or equal to the lower bound of the interval (if one is specified).- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the y-interval (
nullpermitted).
-
getEndYValue
double getEndYValue(int series, int item)
Returns the upper bound of the y-interval (as a double primitive) for the specified series and item.- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the y-interval.
- See Also:
getEndY(int, int)
-
-