Package Spectrogram

Class SpectrogramScrollJumper

java.lang.Object
pamScrollSystem.jumping.ScrollJumper
Spectrogram.SpectrogramScrollJumper
All Implemented Interfaces:
PamSettings, SettingsNameProvider, PamMenuParts

public class SpectrogramScrollJumper extends ScrollJumper
Extend ScrollJumper to get data selectors and selected datablocks from a single spectrogram panel.
Author:
dg50
  • Constructor Details

  • Method Details

    • getUsedDataBlocks

      public List<PamDataBlock> getUsedDataBlocks()
      Description copied from class: ScrollJumper
      Get a list of datablocks to search for the next or previous data unit By default this is the list of data blocks subscribed to the scroller, but you may want to override this, e.g. in the spectrogram only return the list that's used by the display panel last clicked on.
      Overrides:
      getUsedDataBlocks in class ScrollJumper
      Returns:
      list of datablocks.
    • getDataSelector

      public DataSelector getDataSelector(PamDataBlock dataBlock)
      Description copied from class: ScrollJumper
      Get a data selector for the datablock of interest. by default this is null, but specific displays may want to override this so that they can use the data selector currently active on that display.
      Overrides:
      getDataSelector in class ScrollJumper
      Returns:
      data selector
    • setSpectrogramPanel

      public void setSpectrogramPanel(Spectrogram.SpectrogramDisplay.SpectrogramPanel spectrogramPanel)