Module platform

Interface Dataset

All Known Subinterfaces:
BoxAndWhiskerCategoryDataset, BoxAndWhiskerXYDataset, CategoryDataset, FlowDataset<K>, GanttCategoryDataset, IntervalCategoryDataset, IntervalXYDataset, IntervalXYZDataset, KeyedValueDataset, KeyedValues2DDataset, KeyedValuesDataset, MultiValueCategoryDataset, OHLCDataset, PieDataset<K>, SeriesDataset, StatisticalCategoryDataset, TableXYDataset, ValueDataset, VectorXYDataset, WindDataset, XYDataset, XYZDataset
All Known Implementing Classes:
AbstractDataset, AbstractIntervalXYDataset, AbstractSeriesDataset, AbstractXYDataset, AbstractXYZDataset, CategoryTableXYDataset, CategoryToPieDataset, CyclicXYItemRenderer.OverwriteDataSet, DatasetAdapter, DatasetAdapterBase, DefaultBoxAndWhiskerCategoryDataset, DefaultBoxAndWhiskerXYDataset, DefaultCategoryDataset, DefaultFlowDataset, DefaultHeatMapDataset, DefaultHighLowDataset, DefaultIntervalCategoryDataset, DefaultIntervalXYDataset, DefaultKeyedValueDataset, DefaultKeyedValues2DDataset, DefaultKeyedValuesDataset, DefaultMultiValueCategoryDataset, DefaultOHLCDataset, DefaultPieDataset, DefaultStatisticalCategoryDataset, DefaultTableXYDataset, DefaultValueDataset, DefaultWindDataset, DefaultXYDataset, DefaultXYZDataset, DynamicTimeSeriesCollection, HistogramAdapter, HistogramDataset, MatrixSeriesCollection, OHLCSeriesCollection, SimpleHistogramDataset, SlidingCategoryDataset, SlidingGanttCategoryDataset, StatisticsAdapter, TaskSeriesCollection, TimePeriodValuesCollection, TimeSeriesCollection, TimeTableXYDataset, VectorSeriesCollection, WaferMapDataset, XIntervalSeriesCollection, XYBarDataset, XYIntervalSeriesCollection, XYSeriesCollection, XYTaskDataset, YIntervalSeriesCollection

public interface Dataset
The base interface for data sets.

All datasets are required to support the DatasetChangeEvent mechanism by allowing listeners to register and receive notification of any changes to the dataset.

In addition, all datasets must belong to one (and only one) DatasetGroup. The group object maintains a reader-writer lock which provides synchronised access to the datasets in multi-threaded code.

  • Method Details

    • addChangeListener

      void addChangeListener(DatasetChangeListener listener)
      Registers an object for notification of changes to the dataset.
      Parameters:
      listener - the object to register.
    • removeChangeListener

      void removeChangeListener(DatasetChangeListener listener)
      Deregisters an object for notification of changes to the dataset.
      Parameters:
      listener - the object to deregister.
    • getGroup

      DatasetGroup getGroup()
      Returns the dataset group.
      Returns:
      The dataset group.
    • setGroup

      void setGroup(DatasetGroup group)
      Sets the dataset group.
      Parameters:
      group - the dataset group.