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
XYDataSetCollection
s into one collection.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.plot.datasets.AbstractDataSetCollection
AbstractDataSetCollection.FireDatasetChangeListener
-
Field Summary
Fields inherited from class com.illumon.iris.db.plot.datasets.xy.AbstractXYDataSetCollection
logger
-
Constructor Summary
ConstructorsConstructorDescriptionCombinedXYDataSetCollection
(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) Creates a CombinedXYDataSetCollection instance. -
Method Summary
Modifier and TypeMethodDescription<TT extends T>
voidadd
(XYDataSetCollection<TT> collection) Adds allXYDataSeriesInternal
from thecollection
to this collection.createNewSnapshot
(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) getEndX
(int series, int item) double
getEndXValue
(int series, int item) getEndY
(int series, int item) double
getEndYValue
(int series, int item) getStartX
(int series, int item) double
getStartXValue
(int series, int item) getStartY
(int series, int item) double
getStartYValue
(int series, int item) Methods inherited from class com.illumon.iris.db.plot.datasets.xy.XYDataSetCollection
getLabel, getPointColor, validate
Methods inherited from class com.illumon.iris.db.plot.datasets.xy.AbstractXYDataSetCollection
constructSnapshot, getCurrentSnapshot, getDomainOrder, getItemCount, getSeriesCount, getSeriesKey, getX, getXValue, getY, getYValue, indexOf, seriesChanged
Methods 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, testIfSwingDispatchThreadIfNotTestMode
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
notifyDataChanged, notifyDataChanged, notifySeriesChanged, onFailed, onOneClick, onOneClickRemoved, removeOnOneClick
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
Methods inherited from interface com.illumon.iris.db.plot.datasets.DataSetCollection
add, add, axes, dimension, get, getAllSeries, id, multiSeries, remove, series
Methods inherited from interface com.illumon.iris.db.plot.errors.PlotExceptionCause
getPlotInfo
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
Methods 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 allXYDataSeriesInternal
from thecollection
to this collection.- Type Parameters:
TT
- data type of the series inside thecollection
- Parameters:
collection
- data series collection
-
getStartX
- Specified by:
getStartX
in interfaceorg.jfree.data.xy.IntervalXYDataset
-
getStartXValue
public double getStartXValue(int series, int item) - Specified by:
getStartXValue
in interfaceorg.jfree.data.xy.IntervalXYDataset
-
getEndX
- Specified by:
getEndX
in interfaceorg.jfree.data.xy.IntervalXYDataset
-
getEndXValue
public double getEndXValue(int series, int item) - Specified by:
getEndXValue
in interfaceorg.jfree.data.xy.IntervalXYDataset
-
getStartY
- Specified by:
getStartY
in interfaceorg.jfree.data.xy.IntervalXYDataset
-
getStartYValue
public double getStartYValue(int series, int item) - Specified by:
getStartYValue
in interfaceorg.jfree.data.xy.IntervalXYDataset
-
getEndY
- Specified by:
getEndY
in interfaceorg.jfree.data.xy.IntervalXYDataset
-
getEndYValue
public double getEndYValue(int series, int item) - Specified by:
getEndYValue
in interfaceorg.jfree.data.xy.IntervalXYDataset
-
createNewSnapshot
public CombinedXYDataSetCollection createNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) - Overrides:
createNewSnapshot
in classXYDataSetCollection<T extends XYDataSeriesInternal>
-