Package Spectrogram
Class SpectrogramScrollJumper
java.lang.Object
pamScrollSystem.jumping.ScrollJumper
Spectrogram.SpectrogramScrollJumper
- All Implemented Interfaces:
PamSettings
,SettingsNameProvider
,PamMenuParts
Extend ScrollJumper to get data selectors and selected datablocks from
a single spectrogram panel.
- Author:
- dg50
-
Constructor Summary
ConstructorDescriptionSpectrogramScrollJumper
(SpectrogramDisplay spectrogramDisplay, PamScroller parentScroller, Component mainComponent) -
Method Summary
Modifier and TypeMethodDescriptiongetDataSelector
(PamDataBlock dataBlock) Get a data selector for the datablock of interest.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.void
setSpectrogramPanel
(Spectrogram.SpectrogramDisplay.SpectrogramPanel spectrogramPanel) Methods inherited from class pamScrollSystem.jumping.ScrollJumper
addMenuItems, addSelectObserver, getLastFoundDataUnit, getParentScroller, getScrollJumpParams, getSettingsReference, getSettingsVersion, getUnitName, getUnitType, notifySelectObservers, removeSelectObserver, restoreSettings
-
Constructor Details
-
SpectrogramScrollJumper
public SpectrogramScrollJumper(SpectrogramDisplay spectrogramDisplay, PamScroller parentScroller, Component mainComponent)
-
-
Method Details
-
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 classScrollJumper
- Returns:
- list of datablocks.
-
getDataSelector
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 classScrollJumper
- Returns:
- data selector
-
setSpectrogramPanel
public void setSpectrogramPanel(Spectrogram.SpectrogramDisplay.SpectrogramPanel spectrogramPanel)
-