Interface Dataset3D

All Known Subinterfaces:
CategoryDataset3D<S,R,C>, PieDataset3D<K>, XYZDataset<S>
All Known Implementing Classes:
AbstractDataset3D, StandardCategoryDataset3D, StandardPieDataset3D, XYZSeriesCollection

public interface Dataset3D
The base interface for datasets in Orson Charts. All datasets must support the change event notification mechanism. The idea is that when a dataset is changed, an event is passed to the plot. The plot can react to this event, then pass on the change event to the chart. The chart in turn will pass on the event and this can result in the chart being repainted (for example, if the chart is displayed in a Chart3DPanel).
  • Method Details

    • addChangeListener

      Registers a change listener to receive notification of changes to the dataset.
      Parameters:
      listener - the listener (null not permitted).
    • removeChangeListener

      De-registers a change listener so that it no longer receives notification of changes to the dataset.
      Parameters:
      listener - the listener (null not permitted).
    • hasListener

      boolean hasListener(EventListener listener)
      Returns true if the specified listener is registered with the dataset, and false otherwise. This method is used for unit testing to confirm that listeners are removed correctly following dataset switches.
      Parameters:
      listener - the listener.
      Returns:
      A boolean.