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 classIntervalAndTableXYDataSetCollectionWrapper.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 TypeMethodDescriptionvoidAdds a series to this collection.voidConstructs a snapshot of this dataset collection.Returns a snapshot of this dataset collection in which no series which will update.intMethods 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, seriesMethods inherited from class org.jfree.data.general.AbstractSeriesDataset
indexOf, seriesChangedMethods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, clone, getGroup, getNotify, hasListener, notifyListeners, removeChangeListener, setGroup, setNotify, validateObjectMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.plot.util.tables.DataChangeListener
onFailed, onOneClick, onOneClickRemoved, removeOnOneClickMethods 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, 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:DataSetCollectionAdds a series to this collection.- Specified by:
addin interfaceDataSetCollection<T extends IntervalXYDataSeriesInternal>- Overrides:
addin classIntervalDataSetCollectionWrapper<T extends IntervalXYDataSeriesInternal>- Parameters:
series- series
-
getItemCount
public int getItemCount()- Specified by:
getItemCountin interfaceorg.jfree.data.xy.TableXYDataset
-
constructSnapshot
public void constructSnapshot()Description copied from interface:DataSetCollectionConstructs a snapshot of this dataset collection.- Specified by:
constructSnapshotin interfaceDataSetCollection<T extends IntervalXYDataSeriesInternal>- Overrides:
constructSnapshotin classIntervalDataSetCollectionWrapper<T extends IntervalXYDataSeriesInternal>
-
getCurrentSnapshot
Description copied from interface:DataSetCollectionReturns a snapshot of this dataset collection in which no series which will update.- Specified by:
getCurrentSnapshotin interfaceDataSetCollection<T extends IntervalXYDataSeriesInternal>- Overrides:
getCurrentSnapshotin classIntervalDataSetCollectionWrapper<T extends IntervalXYDataSeriesInternal>
-