java.lang.Object
de.grogra.pf.data.DatasetAdapterBase
de.grogra.pf.data.HistogramAdapter
- All Implemented Interfaces:
Dataset,SeriesDataset,IntervalXYDataset,XYDataset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEndX(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.getEndY(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.intgetItemCount(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.doublegetStartXValue(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.doublegetStartYValue(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.doublegetXValue(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.doublegetYValue(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, setGroupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroupMethods inherited from interface org.jfree.data.general.SeriesDataset
getSeriesCount, getSeriesKey, indexOfMethods 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:XYDatasetReturns the x-value for an item within a series. -
getStartXValue
public double getStartXValue(int series, int item) Description copied from interface:IntervalXYDatasetReturns the lower bound of the x-interval (as a double primitive) for the specified series and item.- Specified by:
getStartXValuein 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:IntervalXYDatasetReturns the upper bound of the x-interval (as a double primitive) for the specified series and item.- Specified by:
getEndXValuein 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:XYDatasetReturns the y-value (as a double primitive) for an item within a series. -
getItemCount
public int getItemCount(int series) Description copied from interface:XYDatasetReturns the number of items in a series.
It is recommended that classes that implement this method should throw anIllegalArgumentExceptionif theseriesargument is outside the specified range.- Specified by:
getItemCountin interfaceXYDataset- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).- Returns:
- The item count.
-
getEndX
Description copied from interface:IntervalXYDatasetReturns 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:
getEndXin interfaceIntervalXYDataset- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the x-interval (
nullpermitted).
-
getEndY
Description copied from interface:IntervalXYDatasetReturns 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:
getEndYin interfaceIntervalXYDataset- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the y-interval (
nullpermitted).
-
getEndYValue
public double getEndYValue(int series, int item) Description copied from interface:IntervalXYDatasetReturns the upper bound of the y-interval (as a double primitive) for the specified series and item.- Specified by:
getEndYValuein 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:IntervalXYDatasetReturns 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:
getStartXin interfaceIntervalXYDataset- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The lower bound of the x-interval (
nullpermitted).
-
getStartY
Description copied from interface:IntervalXYDatasetReturns 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:
getStartYin interfaceIntervalXYDataset- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The lower bound of the y-interval (
nullpermitted).
-
getStartYValue
public double getStartYValue(int series, int item) Description copied from interface:IntervalXYDatasetReturns the lower bound of the y-interval (as a double primitive) for the specified series and item.- Specified by:
getStartYValuein 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:XYDatasetReturns 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:XYDatasetReturns the y-value for an item within a series.
-