Class AbstractXYDataSetCollection<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>
- All Implemented Interfaces:
DataSetCollection<T>
,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:
OHLCDataSetCollection
,XYDataSetCollection
public abstract class AbstractXYDataSetCollection<T extends XYDataSeriesInternal>
extends AbstractDataSetCollection<T>
implements org.jfree.data.xy.XYDataset, XYRangedDataSetCollection<T>, org.jfree.data.general.SeriesDataset
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.plot.datasets.AbstractDataSetCollection
AbstractDataSetCollection.FireDatasetChangeListener
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractXYDataSetCollection
(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) Creates an AbstractXYDataSetCollection instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Constructs a snapshot of this dataset collection.abstract AbstractXYDataSetCollection
createNewSnapshot
(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) Returns a snapshot of this dataset collection in which no series which will update.org.jfree.data.DomainOrder
int
getItemCount
(int series) int
getSeriesKey
(int series) getX
(int series, int item) double
getXValue
(int series, int item) getY
(int series, int item) double
getYValue
(int series, int item) int
indexOf
(Comparable seriesKey) void
seriesChanged
(org.jfree.data.general.SeriesChangeEvent event) 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 com.illumon.iris.db.plot.datasets.XYRangedDataSetCollection
getXRange
-
Field Details
-
logger
protected static final com.fishlib.io.logger.Logger logger
-
-
Constructor Details
-
AbstractXYDataSetCollection
public AbstractXYDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) Creates an AbstractXYDataSetCollection instance.- Parameters:
axes
- corresponding axes for datasetcollectiongovernor
- update throttleplotInfo
- plot informationnotifyDataChanged
- whether to fire dataset changed events
-
-
Method Details
-
getItemCount
public int getItemCount(int series) - Specified by:
getItemCount
in interfaceorg.jfree.data.xy.XYDataset
-
getX
- Specified by:
getX
in interfaceorg.jfree.data.xy.XYDataset
-
getXValue
public double getXValue(int series, int item) - Specified by:
getXValue
in interfaceorg.jfree.data.xy.XYDataset
-
getY
- Specified by:
getY
in interfaceorg.jfree.data.xy.XYDataset
-
getYValue
public double getYValue(int series, int item) - Specified by:
getYValue
in interfaceorg.jfree.data.xy.XYDataset
-
getSeriesKey
- Specified by:
getSeriesKey
in interfaceorg.jfree.data.general.SeriesDataset
-
getSeriesCount
public int getSeriesCount()- Specified by:
getSeriesCount
in interfaceorg.jfree.data.general.SeriesDataset
-
getDomainOrder
public org.jfree.data.DomainOrder getDomainOrder()- Specified by:
getDomainOrder
in interfaceorg.jfree.data.xy.XYDataset
-
indexOf
- Specified by:
indexOf
in interfaceorg.jfree.data.general.SeriesDataset
-
seriesChanged
public void seriesChanged(org.jfree.data.general.SeriesChangeEvent event) -
createNewSnapshot
public abstract AbstractXYDataSetCollection createNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged) -
constructSnapshot
public void constructSnapshot()Description copied from interface:DataSetCollection
Constructs a snapshot of this dataset collection.- Specified by:
constructSnapshot
in interfaceDataSetCollection<T extends XYDataSeriesInternal>
-
getCurrentSnapshot
Description copied from interface:DataSetCollection
Returns a snapshot of this dataset collection in which no series which will update.- Specified by:
getCurrentSnapshot
in interfaceDataSetCollection<T extends XYDataSeriesInternal>
-