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:
  • 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 datasetcollection
      governor - update throttle
      plotInfo - plot information
      notifyDataChanged - whether to fire dataset changed events
  • Method Details

    • getItemCount

      public int getItemCount(int series)
      Specified by:
      getItemCount in interface org.jfree.data.xy.XYDataset
    • getX

      public Number getX(int series, int item)
      Specified by:
      getX in interface org.jfree.data.xy.XYDataset
    • getXValue

      public double getXValue(int series, int item)
      Specified by:
      getXValue in interface org.jfree.data.xy.XYDataset
    • getY

      public Number getY(int series, int item)
      Specified by:
      getY in interface org.jfree.data.xy.XYDataset
    • getYValue

      public double getYValue(int series, int item)
      Specified by:
      getYValue in interface org.jfree.data.xy.XYDataset
    • getSeriesKey

      public Comparable getSeriesKey(int series)
      Specified by:
      getSeriesKey in interface org.jfree.data.general.SeriesDataset
    • getSeriesCount

      public int getSeriesCount()
      Specified by:
      getSeriesCount in interface org.jfree.data.general.SeriesDataset
    • getDomainOrder

      public org.jfree.data.DomainOrder getDomainOrder()
      Specified by:
      getDomainOrder in interface org.jfree.data.xy.XYDataset
    • indexOf

      public int indexOf(Comparable seriesKey)
      Specified by:
      indexOf in interface org.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 interface DataSetCollection<T extends XYDataSeriesInternal>
    • getCurrentSnapshot

      public AbstractXYDataSetCollection getCurrentSnapshot()
      Description copied from interface: DataSetCollection
      Returns a snapshot of this dataset collection in which no series which will update.
      Specified by:
      getCurrentSnapshot in interface DataSetCollection<T extends XYDataSeriesInternal>