Package Spectrogram

Class SpectrogramOverlayDataManager

java.lang.Object
PamView.paneloverlay.OverlayDataManager
Spectrogram.SpectrogramOverlayDataManager
All Implemented Interfaces:
OverlayDataObserver

public class SpectrogramOverlayDataManager extends OverlayDataManager
  • Constructor Details

    • SpectrogramOverlayDataManager

      public SpectrogramOverlayDataManager(SpectrogramDisplay spectrogramDisplay, Spectrogram.SpectrogramDisplay.SpectrogramPanel spectrogramPanel)
  • Method Details

    • selectionChanged

      public void selectionChanged(PamDataBlock dataBlock, boolean selected)
      Description copied from interface: OverlayDataObserver
      Called whenever a checkbox in a menuitem created by an OverlayDataManager is selected.
      Parameters:
      dataBlock - associated datablock.
      selected - selection state.
    • getDataSelectorName

      public String getDataSelectorName()
      Specified by:
      getDataSelectorName in class OverlayDataManager
      Returns:
      a String name for a dataselector associated with this. this will generally be the name of an associated PamControlledUnit.
    • getOverlayInfo

      public OverlayDataInfo getOverlayInfo(PamDataBlock dataBlock)
      Description copied from class: OverlayDataManager
      Get the OverlayDataInfo associated with these items - it's possible that these will have been extended to contain additional information so don't handle them too directly in the abstract class. .
      Specified by:
      getOverlayInfo in class OverlayDataManager
      Parameters:
      dataBlock - associated datablock.
      Returns:
      an OverlayDataInfo - must not be null, so create one if needed.