Class XYDataSetCollection<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>
- 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.XYDataset
- Direct Known Subclasses:
CombinedXYDataSetCollection
,IntervalDataSetCollection
,TransformedXYDataSetCollection
public class XYDataSetCollection<T extends XYDataSeriesInternal> extends AbstractXYDataSetCollection<T> implements LabeledDataSetCollection, ValidatingDataSeries
Collection of
XYDataSeriesInternal
.- 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 XYDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)
Creates an XYDataSetCollection instance. -
Method Summary
Modifier and Type Method Description XYDataSetCollection
createNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)
String
getLabel(int series, int item)
Gets the label for a data point.Paint
getPointColor(int series, int item)
void
validate()
Validate the data series.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.datasets.XYRangedDataSetCollection
getXRange
-
Constructor Details
-
XYDataSetCollection
public XYDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)Creates an XYDataSetCollection instance.- Parameters:
axes
- corresponding axes for datasetcollectiongovernor
- update throttledynamicSeriesNamer
- utility to name dynamically generated seriesplotInfo
- plot informationnotifyDataChanged
- whether to fire dataset changed events
-
-
Method Details
-
createNewSnapshot
public XYDataSetCollection createNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)- Specified by:
createNewSnapshot
in classAbstractXYDataSetCollection<T extends XYDataSeriesInternal>
-
getLabel
Description copied from interface:LabeledDataSetCollection
Gets the label for a data point.- Specified by:
getLabel
in interfaceLabeledDataSetCollection
- Parameters:
series
- series indexitem
- data point index inside specified series- Returns:
- label for specified data point
-
getPointColor
-
validate
Description copied from interface:ValidatingDataSeries
Validate the data series.- Specified by:
validate
in interfaceValidatingDataSeries
- Throws:
PlotIllegalStateException
-