java.lang.Object
de.grogra.pf.data.DatasetAdapterBase
de.grogra.pf.data.HistogramAdapter
- All Implemented Interfaces:
Dataset
,SeriesDataset
,IntervalXYDataset
,XYDataset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEndX
(int series, int item) Returns the upper bound of the x-interval for the specified series and item.double
getEndXValue
(int series, int item) Returns the upper bound of the x-interval (as a double primitive) for the specified series and item.getEndY
(int series, int item) Returns the upper bound of the y-interval for the specified series and item.double
getEndYValue
(int series, int item) Returns the upper bound of the y-interval (as a double primitive) for the specified series and item.int
getItemCount
(int series) Returns the number of items in a series.getStartX
(int series, int item) Returns the lower bound of the x-interval for the specified series and item.double
getStartXValue
(int series, int item) Returns the lower bound of the x-interval (as a double primitive) for the specified series and item.getStartY
(int series, int item) Returns the lower bound of the y-interval for the specified series and item.double
getStartYValue
(int series, int item) Returns the lower bound of the y-interval (as a double primitive) for the specified series and item.getX
(int series, int item) Returns the x-value for an item within a series.double
getXValue
(int series, int item) Returns the x-value for an item within a series.getY
(int series, int item) Returns the y-value for an item within a series.double
getYValue
(int series, int item) Returns the y-value (as a double primitive) for an item within a series.Methods inherited from class de.grogra.pf.data.DatasetAdapterBase
addChangeListener, getDomainOrder, getGroup, getSeriesCount, getSeriesKey, indexOf, removeChangeListener, setGroup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
Methods inherited from interface org.jfree.data.general.SeriesDataset
getSeriesCount, getSeriesKey, indexOf
Methods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder
-
Constructor Details
-
HistogramAdapter
-
-
Method Details
-
getXValue
public double getXValue(int series, int item) Description copied from interface:XYDataset
Returns the x-value for an item within a series. -
getStartXValue
public double getStartXValue(int series, int item) Description copied from interface:IntervalXYDataset
Returns the lower bound of the x-interval (as a double primitive) for the specified series and item.- Specified by:
getStartXValue
in interfaceIntervalXYDataset
- Parameters:
series
- the series (zero-based index).item
- the item (zero-based index).- Returns:
- The lower bound of the x-interval.
- See Also:
-
getEndXValue
public double getEndXValue(int series, int item) Description copied from interface:IntervalXYDataset
Returns the upper bound of the x-interval (as a double primitive) for the specified series and item.- Specified by:
getEndXValue
in interfaceIntervalXYDataset
- Parameters:
series
- the series index (zero-based).item
- the item index (zero-based).- Returns:
- The upper bound of the x-interval.
- See Also:
-
getYValue
public double getYValue(int series, int item) Description copied from interface:XYDataset
Returns the y-value (as a double primitive) for an item within a series. -
getItemCount
public int getItemCount(int series) Description copied from interface:XYDataset
Returns the number of items in a series.
It is recommended that classes that implement this method should throw anIllegalArgumentException
if theseries
argument is outside the specified range.- Specified by:
getItemCount
in interfaceXYDataset
- Parameters:
series
- the series index (in the range0
togetSeriesCount() - 1
).- Returns:
- The item count.
-
getEndX
Description copied from interface:IntervalXYDataset
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).- Specified by:
getEndX
in interfaceIntervalXYDataset
- Parameters:
series
- the series index (zero-based).item
- the item index (zero-based).- Returns:
- The upper bound of the x-interval (
null
permitted).
-
getEndY
Description copied from interface:IntervalXYDataset
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).- Specified by:
getEndY
in interfaceIntervalXYDataset
- Parameters:
series
- the series index (zero-based).item
- the item index (zero-based).- Returns:
- The upper bound of the y-interval (
null
permitted).
-
getEndYValue
public double getEndYValue(int series, int item) Description copied from interface:IntervalXYDataset
Returns the upper bound of the y-interval (as a double primitive) for the specified series and item.- Specified by:
getEndYValue
in interfaceIntervalXYDataset
- Parameters:
series
- the series index (zero-based).item
- the item index (zero-based).- Returns:
- The upper bound of the y-interval.
- See Also:
-
getStartX
Description copied from interface:IntervalXYDataset
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).- Specified by:
getStartX
in interfaceIntervalXYDataset
- Parameters:
series
- the series index (zero-based).item
- the item index (zero-based).- Returns:
- The lower bound of the x-interval (
null
permitted).
-
getStartY
Description copied from interface:IntervalXYDataset
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).- Specified by:
getStartY
in interfaceIntervalXYDataset
- Parameters:
series
- the series index (zero-based).item
- the item index (zero-based).- Returns:
- The lower bound of the y-interval (
null
permitted).
-
getStartYValue
public double getStartYValue(int series, int item) Description copied from interface:IntervalXYDataset
Returns the lower bound of the y-interval (as a double primitive) for the specified series and item.- Specified by:
getStartYValue
in interfaceIntervalXYDataset
- Parameters:
series
- the series index (zero-based).item
- the item index (zero-based).- Returns:
- The lower bound of the y-interval.
- See Also:
-
getX
Description copied from interface:XYDataset
Returns the x-value for an item within a series. The x-values may or may not be returned in ascending order, that is up to the class implementing the interface. -
getY
Description copied from interface:XYDataset
Returns the y-value for an item within a series.
-