Class IntervalAndTableXYDataSetCollectionWrapper<T extends IntervalXYDataSeriesInternal>
java.lang.Object
org.jfree.data.general.AbstractDataset
org.jfree.data.general.AbstractSeriesDataset
com.illumon.iris.db.plot.datasets.interval.IntervalDataSetCollectionWrapper<T>
com.illumon.iris.db.plot.datasets.table.IntervalAndTableXYDataSetCollectionWrapper<T>
- All Implemented Interfaces:
DataSetCollection<T>
,LabeledDataSetCollection
,PlotExceptionCause
,DataChangeListener
,ObjectInputValidation
,Serializable
,Cloneable
,EventListener
,org.jfree.data.general.Dataset
,org.jfree.data.general.SeriesChangeListener
,org.jfree.data.general.SeriesDataset
,org.jfree.data.xy.IntervalXYDataset
,org.jfree.data.xy.TableXYDataset
,org.jfree.data.xy.XYDataset
- Direct Known Subclasses:
IntervalAndTableXYDataSetCollectionWrapper.IntervalAndTableXYDataSetCollectionWrapperSnapshot
public class IntervalAndTableXYDataSetCollectionWrapper<T extends IntervalXYDataSeriesInternal>
extends IntervalDataSetCollectionWrapper<T>
implements org.jfree.data.xy.TableXYDataset
A dataset suitable for bar charts from an
XYDataSetCollection
.
All IntervalXYDataSeriesInternal
in the collection must have the same x-values.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
IntervalAndTableXYDataSetCollectionWrapper.IntervalAndTableXYDataSetCollectionWrapperSnapshot<T extends IntervalXYDataSeriesInternal>
Nested classes/interfaces inherited from class com.illumon.iris.db.plot.datasets.interval.IntervalDataSetCollectionWrapper
IntervalDataSetCollectionWrapper.IntervalDataSetCollectionWrapperSnapshot<T extends XYDataSeriesInternal>
-
Constructor Summary
ConstructorsConstructorDescriptionIntervalAndTableXYDataSetCollectionWrapper
(LambdaGovernor governor, XYDataSetCollection data, boolean notifyDataChanged) Creates an instance of IntervalDataSetCollectionWrapper. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a series to this collection.void
Constructs a snapshot of this dataset collection.Returns a snapshot of this dataset collection in which no series which will update.int
Methods inherited from class com.illumon.iris.db.plot.datasets.interval.IntervalDataSetCollectionWrapper
add, addFireDatasetChangeListener, axes, calculateXRangeWithBars, dimension, fireDatasetChanged, get, getAllSeries, getDomainOrder, getEndX, getEndXValue, getEndY, getEndYValue, getGovernor, getItemCount, getLabel, getPlotInfo, getSeriesCount, getSeriesKey, getStartX, getStartXValue, getStartY, getStartYValue, getX, getXValue, getY, getYValue, id, multiSeries, notifyDataChanged, notifyDataChanged, notifySeriesChanged, remove, series
Methods inherited from class org.jfree.data.general.AbstractSeriesDataset
indexOf, seriesChanged
Methods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, clone, 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 com.illumon.iris.db.plot.util.tables.DataChangeListener
onFailed, onOneClick, onOneClickRemoved, removeOnOneClick
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, getItemCount, getX, getXValue, getY, getYValue
-
Constructor Details
-
IntervalAndTableXYDataSetCollectionWrapper
public IntervalAndTableXYDataSetCollectionWrapper(LambdaGovernor governor, XYDataSetCollection data, boolean notifyDataChanged) Creates an instance of IntervalDataSetCollectionWrapper.Calculates a dataset suitable for bar charts from an
XYDataSetCollection
.- Parameters:
governor
- update throttledata
- datanotifyDataChanged
- whether to fire dataset changed events- Throws:
IllegalArgumentException
- all series in data must have the same x-values
-
-
Method Details
-
add
Description copied from interface:DataSetCollection
Adds a series to this collection.- Specified by:
add
in interfaceDataSetCollection<T extends IntervalXYDataSeriesInternal>
- Overrides:
add
in classIntervalDataSetCollectionWrapper<T extends IntervalXYDataSeriesInternal>
- Parameters:
series
- series
-
getItemCount
public int getItemCount()- Specified by:
getItemCount
in interfaceorg.jfree.data.xy.TableXYDataset
-
constructSnapshot
public void constructSnapshot()Description copied from interface:DataSetCollection
Constructs a snapshot of this dataset collection.- Specified by:
constructSnapshot
in interfaceDataSetCollection<T extends IntervalXYDataSeriesInternal>
- Overrides:
constructSnapshot
in classIntervalDataSetCollectionWrapper<T extends IntervalXYDataSeriesInternal>
-
getCurrentSnapshot
Description copied from interface:DataSetCollection
Returns a snapshot of this dataset collection in which no series which will update.- Specified by:
getCurrentSnapshot
in interfaceDataSetCollection<T extends IntervalXYDataSeriesInternal>
- Overrides:
getCurrentSnapshot
in classIntervalDataSetCollectionWrapper<T extends IntervalXYDataSeriesInternal>
-