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:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.plot.datasets.AbstractDataSetCollection
AbstractDataSetCollection.FireDatasetChangeListener -
Field Summary
Fields Modifier and Type Field Description protected static com.fishlib.io.logger.Loggerlogger -
Constructor Summary
Constructors Constructor Description AbstractXYDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)Creates an AbstractXYDataSetCollection instance. -
Method Summary
Modifier and Type Method Description voidconstructSnapshot()Constructs a snapshot of this dataset collection.abstract AbstractXYDataSetCollectioncreateNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)AbstractXYDataSetCollectiongetCurrentSnapshot()Returns a snapshot of this dataset collection in which no series which will update.org.jfree.data.DomainOrdergetDomainOrder()intgetItemCount(int series)intgetSeriesCount()ComparablegetSeriesKey(int series)NumbergetX(int series, int item)doublegetXValue(int series, int item)NumbergetY(int series, int item)doublegetYValue(int series, int item)intindexOf(Comparable seriesKey)voidseriesChanged(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, 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.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:
getItemCountin interfaceorg.jfree.data.xy.XYDataset
-
getX
- Specified by:
getXin interfaceorg.jfree.data.xy.XYDataset
-
getXValue
public double getXValue(int series, int item)- Specified by:
getXValuein interfaceorg.jfree.data.xy.XYDataset
-
getY
- Specified by:
getYin interfaceorg.jfree.data.xy.XYDataset
-
getYValue
public double getYValue(int series, int item)- Specified by:
getYValuein interfaceorg.jfree.data.xy.XYDataset
-
getSeriesKey
- Specified by:
getSeriesKeyin interfaceorg.jfree.data.general.SeriesDataset
-
getSeriesCount
public int getSeriesCount()- Specified by:
getSeriesCountin interfaceorg.jfree.data.general.SeriesDataset
-
getDomainOrder
public org.jfree.data.DomainOrder getDomainOrder()- Specified by:
getDomainOrderin interfaceorg.jfree.data.xy.XYDataset
-
indexOf
- Specified by:
indexOfin 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:DataSetCollectionConstructs a snapshot of this dataset collection.- Specified by:
constructSnapshotin interfaceDataSetCollection<T extends XYDataSeriesInternal>
-
getCurrentSnapshot
Description copied from interface:DataSetCollectionReturns a snapshot of this dataset collection in which no series which will update.- Specified by:
getCurrentSnapshotin interfaceDataSetCollection<T extends XYDataSeriesInternal>
-