Package net.sf.basedb.util.plot
Class HistogramPlot.HistogramDataset
java.lang.Object
org.jfree.data.general.AbstractDataset
org.jfree.data.general.AbstractSeriesDataset
net.sf.basedb.util.plot.HistogramPlot.HistogramDataset
- All Implemented Interfaces:
ObjectInputValidation
,Serializable
,Cloneable
,EventListener
,Dataset
,SeriesChangeListener
,SeriesDataset
,IntervalXYDataset
,XYDataset
- Enclosing class:
- HistogramPlot
private static class HistogramPlot.HistogramDataset
extends AbstractSeriesDataset
implements IntervalXYDataset
An dataset implementation for histogram data that allows
us to send data to JFreeChart the way we want.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<HistogramPlot.HistogramSeries>
private static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getEndX
(int series, int item) double
getEndXValue
(int series, int item) getEndY
(int series, int item) double
getEndYValue
(int series, int item) int
getItemCount
(int series) int
getSeriesKey
(int series) getStartX
(int series, int item) double
getStartXValue
(int series, int item) getStartY
(int series, int item) double
getStartYValue
(int series, int item) getX
(int series, int item) double
getXValue
(int series, int item) getY
(int series, int item) double
getYValue
(int series, int item) Methods inherited from class org.jfree.data.general.AbstractSeriesDataset
indexOf, seriesChanged
Methods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, clone, fireDatasetChanged, getGroup, getNotify, hasListener, notifyListeners, removeChangeListener, setGroup, setNotify, validateObject
Methods inherited from class java.lang.Object
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
indexOf
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
all
-
-
Constructor Details
-
HistogramDataset
private HistogramDataset()
-
-
Method Details
-
getSeriesCount
public int getSeriesCount()- Specified by:
getSeriesCount
in interfaceSeriesDataset
- Specified by:
getSeriesCount
in classAbstractSeriesDataset
-
getSeriesKey
- Specified by:
getSeriesKey
in interfaceSeriesDataset
- Specified by:
getSeriesKey
in classAbstractSeriesDataset
-
getDomainOrder
- Specified by:
getDomainOrder
in interfaceXYDataset
-
getItemCount
public int getItemCount(int series) - Specified by:
getItemCount
in interfaceXYDataset
-
getX
-
getXValue
public double getXValue(int series, int item) -
getY
-
getYValue
public double getYValue(int series, int item) -
getEndX
- Specified by:
getEndX
in interfaceIntervalXYDataset
-
getEndXValue
public double getEndXValue(int series, int item) - Specified by:
getEndXValue
in interfaceIntervalXYDataset
-
getEndY
- Specified by:
getEndY
in interfaceIntervalXYDataset
-
getEndYValue
public double getEndYValue(int series, int item) - Specified by:
getEndYValue
in interfaceIntervalXYDataset
-
getStartX
- Specified by:
getStartX
in interfaceIntervalXYDataset
-
getStartXValue
public double getStartXValue(int series, int item) - Specified by:
getStartXValue
in interfaceIntervalXYDataset
-
getStartY
- Specified by:
getStartY
in interfaceIntervalXYDataset
-
getStartYValue
public double getStartYValue(int series, int item) - Specified by:
getStartYValue
in interfaceIntervalXYDataset
-
addSeries
-