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:
-
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
ConstructorsConstructorDescriptionXYDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) Creates an XYDataSetCollection instance. -
Method Summary
Modifier and TypeMethodDescriptioncreateNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) getLabel(int series, int item) Gets the label for a data point.getPointColor(int series, int item) voidvalidate()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, 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 com.illumon.iris.db.plot.errors.PlotExceptionCause
getPlotInfoMethods 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:
createNewSnapshotin classAbstractXYDataSetCollection<T extends XYDataSeriesInternal>
-
getLabel
Description copied from interface:LabeledDataSetCollectionGets the label for a data point.- Specified by:
getLabelin interfaceLabeledDataSetCollection- Parameters:
series- series indexitem- data point index inside specified series- Returns:
- label for specified data point
-
getPointColor
-
validate
Description copied from interface:ValidatingDataSeriesValidate the data series.- Specified by:
validatein interfaceValidatingDataSeries- Throws:
PlotIllegalStateException
-