Class TransformedIntervalDataSetCollection<T extends IntervalXYDataSeriesInternal>
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.interval.IntervalDataSetCollection<IntervalXYDataSeriesInternal>
com.illumon.iris.db.plot.datasets.interval.TransformedIntervalDataSetCollection<T>
- All Implemented Interfaces:
DataSetCollection<IntervalXYDataSeriesInternal>,LabeledDataSetCollection,TransformedDataSetCollection,ValidatingDataSeries,XYRangedDataSetCollection<IntervalXYDataSeriesInternal>,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 TransformedIntervalDataSetCollection<T extends IntervalXYDataSeriesInternal> extends IntervalDataSetCollection<IntervalXYDataSeriesInternal> implements TransformedDataSetCollection
Collection of
IntervalXYDataSeriesInternal with a
transformation applied to each series.- 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 TransformedIntervalDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, IntervalDataSetCollection<T> collection, Function<T,? extends IntervalXYDataSeriesInternal> transform, boolean notifyDataChanged)Creates a TransformedIntervalDataSetCollection instance. -
Method Summary
Modifier and Type Method Description voidadd(IntervalXYDataSeriesInternal series)Adds a series to this collection.voidadd(MultiSeriesInternal series)voidsetCanAddSeries(boolean canAddSeries)Methods inherited from class com.illumon.iris.db.plot.datasets.interval.IntervalDataSetCollection
createNewSnapshot, getEndX, getEndXValue, getEndY, getEndYValue, getStartX, getStartXValue, getStartY, getStartYValueMethods 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
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
axes, constructSnapshot, dimension, get, getAllSeries, getCurrentSnapshot, id, multiSeries, remove, seriesMethods inherited from interface com.illumon.iris.db.plot.datasets.LabeledDataSetCollection
getLabelMethods 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
-
TransformedIntervalDataSetCollection
public TransformedIntervalDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, IntervalDataSetCollection<T> collection, Function<T,? extends IntervalXYDataSeriesInternal> transform, boolean notifyDataChanged)Creates a TransformedIntervalDataSetCollection instance. Thetransformis applied to all series incollection.- Parameters:
axes- corresponding axes for datasetcollectiongovernor- update throttledynamicSeriesNamer- utility to name dynamically generated seriescollection- datatransform- function applied to all series incollectionnotifyDataChanged- whether to fire dataset changed events
-
-
Method Details
-
add
- Specified by:
addin interfaceDataSetCollection<T extends IntervalXYDataSeriesInternal>- Overrides:
addin classAbstractDataSetCollection<IntervalXYDataSeriesInternal>
-
add
Description copied from interface:DataSetCollectionAdds a series to this collection.- Specified by:
addin interfaceDataSetCollection<T extends IntervalXYDataSeriesInternal>- Overrides:
addin classAbstractDataSetCollection<IntervalXYDataSeriesInternal>- Parameters:
series- series
-
setCanAddSeries
public void setCanAddSeries(boolean canAddSeries)- Specified by:
setCanAddSeriesin interfaceTransformedDataSetCollection
-