Class CombinedXYDataSetCollection<T extends XYDataSeriesInternal>
java.lang.Object
org.jfree.data.general.AbstractDataset
com.illumon.iris.db.plot.datasets.AbstractDataSetCollection<T>
com.illumon.iris.db.plot.datasets.xy.AbstractXYDataSetCollection<T>
com.illumon.iris.db.plot.datasets.xy.XYDataSetCollection<T>
com.illumon.iris.db.plot.datasets.xy.CombinedXYDataSetCollection<T>
- All Implemented Interfaces:
DataSetCollection<T>,LabeledDataSetCollection,ValidatingDataSeries,XYRangedDataSetCollection<T>,PlotExceptionCause,DataChangeListener,ObjectInputValidation,Serializable,Cloneable,org.jfree.data.general.Dataset,org.jfree.data.general.SeriesDataset,org.jfree.data.xy.IntervalXYDataset,org.jfree.data.xy.XYDataset
public class CombinedXYDataSetCollection<T extends XYDataSeriesInternal> extends XYDataSetCollection<T> implements org.jfree.data.xy.IntervalXYDataset
Combines multiple
XYDataSetCollections into one collection.- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.plot.datasets.AbstractDataSetCollection
AbstractDataSetCollection.FireDatasetChangeListener -
Field Summary
-
Constructor Summary
Constructors Constructor Description CombinedXYDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)Creates a CombinedXYDataSetCollection instance. -
Method Summary
Modifier and Type Method Description <TT extends T>
voidadd(XYDataSetCollection<TT> collection)Adds allXYDataSeriesInternalfrom thecollectionto this collection.CombinedXYDataSetCollectioncreateNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)NumbergetEndX(int series, int item)doublegetEndXValue(int series, int item)NumbergetEndY(int series, int item)doublegetEndYValue(int series, int item)NumbergetStartX(int series, int item)doublegetStartXValue(int series, int item)NumbergetStartY(int series, int item)doublegetStartYValue(int series, int item)Methods inherited from class com.illumon.iris.db.plot.datasets.xy.XYDataSetCollection
getLabel, getPointColor, validateMethods inherited from class com.illumon.iris.db.plot.datasets.xy.AbstractXYDataSetCollection
constructSnapshot, getCurrentSnapshot, getDomainOrder, getItemCount, getSeriesCount, getSeriesKey, getX, getXValue, getY, getYValue, indexOf, seriesChangedMethods inherited from class com.illumon.iris.db.plot.datasets.AbstractDataSetCollection
add, add, addFireDatasetChangeListener, addMultiSeries, addSeries, axes, dimension, fireDatasetChanged, get, getAllSeries, getDynamicSeriesNamer, getGovernor, getPlotInfo, getSeriesNames, id, isNotifyDataChanged, multiSeries, notifyDataChanged, notifyDataChanged, notifySeriesChanged, reindexSeriesSync, remove, removeFireDatasetChangeListener, series, setSnapshotsEnabled, testIfSwingDispatchThreadIfNotTestModeMethods 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
notifyDataChanged, notifyDataChanged, notifySeriesChanged, onFailed, onOneClick, onOneClickRemoved, removeOnOneClickMethods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroupMethods inherited from interface com.illumon.iris.db.plot.datasets.DataSetCollection
add, add, axes, dimension, get, getAllSeries, id, multiSeries, remove, seriesMethods inherited from interface org.jfree.data.general.SeriesDataset
getSeriesCount, getSeriesKey, indexOfMethods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getItemCount, getX, getXValue, getY, getYValueMethods inherited from interface com.illumon.iris.db.plot.datasets.XYRangedDataSetCollection
getXRange
-
Constructor Details
-
CombinedXYDataSetCollection
public CombinedXYDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)Creates a CombinedXYDataSetCollection instance.- Parameters:
axes- corresponding axes for datasetcollectiongovernor- update throttledynamicSeriesNamer- utility to name dynamically generated series
-
-
Method Details
-
add
Adds allXYDataSeriesInternalfrom thecollectionto this collection.- Type Parameters:
TT- data type of the series inside thecollection- Parameters:
collection- data series collection
-
getStartX
- Specified by:
getStartXin interfaceorg.jfree.data.xy.IntervalXYDataset
-
getStartXValue
public double getStartXValue(int series, int item)- Specified by:
getStartXValuein interfaceorg.jfree.data.xy.IntervalXYDataset
-
getEndX
- Specified by:
getEndXin interfaceorg.jfree.data.xy.IntervalXYDataset
-
getEndXValue
public double getEndXValue(int series, int item)- Specified by:
getEndXValuein interfaceorg.jfree.data.xy.IntervalXYDataset
-
getStartY
- Specified by:
getStartYin interfaceorg.jfree.data.xy.IntervalXYDataset
-
getStartYValue
public double getStartYValue(int series, int item)- Specified by:
getStartYValuein interfaceorg.jfree.data.xy.IntervalXYDataset
-
getEndY
- Specified by:
getEndYin interfaceorg.jfree.data.xy.IntervalXYDataset
-
getEndYValue
public double getEndYValue(int series, int item)- Specified by:
getEndYValuein interfaceorg.jfree.data.xy.IntervalXYDataset
-
createNewSnapshot
public CombinedXYDataSetCollection createNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)- Overrides:
createNewSnapshotin classXYDataSetCollection<T extends XYDataSeriesInternal>
-