Class CombinedXYDataSetCollection<T extends XYDataSeriesInternal>

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.IntervalXYDataset, org.jfree.data.xy.XYDataset

public class CombinedXYDataSetCollection<T extends XYDataSeriesInternal> extends XYDataSetCollection<T> implements org.jfree.data.xy.IntervalXYDataset
Combines multiple XYDataSetCollections into one collection.
See Also:
  • Constructor Details

    • CombinedXYDataSetCollection

      public CombinedXYDataSetCollection(AxesImpl axes, LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)
      Creates a CombinedXYDataSetCollection instance.
      Parameters:
      axes - corresponding axes for datasetcollection
      governor - update throttle
      dynamicSeriesNamer - utility to name dynamically generated series
  • Method Details

    • add

      public <TT extends T> void add(XYDataSetCollection<TT> collection)
      Adds all XYDataSeriesInternal from the collection to this collection.
      Type Parameters:
      TT - data type of the series inside the collection
      Parameters:
      collection - data series collection
    • getStartX

      public Number getStartX(int series, int item)
      Specified by:
      getStartX in interface org.jfree.data.xy.IntervalXYDataset
    • getStartXValue

      public double getStartXValue(int series, int item)
      Specified by:
      getStartXValue in interface org.jfree.data.xy.IntervalXYDataset
    • getEndX

      public Number getEndX(int series, int item)
      Specified by:
      getEndX in interface org.jfree.data.xy.IntervalXYDataset
    • getEndXValue

      public double getEndXValue(int series, int item)
      Specified by:
      getEndXValue in interface org.jfree.data.xy.IntervalXYDataset
    • getStartY

      public Number getStartY(int series, int item)
      Specified by:
      getStartY in interface org.jfree.data.xy.IntervalXYDataset
    • getStartYValue

      public double getStartYValue(int series, int item)
      Specified by:
      getStartYValue in interface org.jfree.data.xy.IntervalXYDataset
    • getEndY

      public Number getEndY(int series, int item)
      Specified by:
      getEndY in interface org.jfree.data.xy.IntervalXYDataset
    • getEndYValue

      public double getEndYValue(int series, int item)
      Specified by:
      getEndYValue in interface org.jfree.data.xy.IntervalXYDataset
    • createNewSnapshot

      public CombinedXYDataSetCollection createNewSnapshot(LambdaGovernor governor, DynamicSeriesNamer dynamicSeriesNamer, PlotInfo plotInfo, boolean notifyDataChanged)
      Overrides:
      createNewSnapshot in class XYDataSetCollection<T extends XYDataSeriesInternal>