Package Spectrogram
Class SpectrogramOverlayDataManager
java.lang.Object
PamView.paneloverlay.OverlayDataManager
Spectrogram.SpectrogramOverlayDataManager
- All Implemented Interfaces:
OverlayDataObserver
-
Constructor Summary
ConstructorDescriptionSpectrogramOverlayDataManager
(SpectrogramDisplay spectrogramDisplay, Spectrogram.SpectrogramDisplay.SpectrogramPanel spectrogramPanel) -
Method Summary
Modifier and TypeMethodDescriptiongetOverlayInfo
(PamDataBlock dataBlock) 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.void
selectionChanged
(PamDataBlock dataBlock, boolean selected) Called whenever a checkbox in a menuitem created by an OverlayDataManager is selected.Methods inherited from class PamView.paneloverlay.OverlayDataManager
addSelectionMenuItems, getParameterTypes, getParameterUnits, getSwingPanel, listDataBlocks
-
Constructor Details
-
SpectrogramOverlayDataManager
public SpectrogramOverlayDataManager(SpectrogramDisplay spectrogramDisplay, Spectrogram.SpectrogramDisplay.SpectrogramPanel spectrogramPanel)
-
-
Method Details
-
selectionChanged
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
- Specified by:
getDataSelectorName
in classOverlayDataManager
- Returns:
- a String name for a dataselector associated with this. this will generally be the name of an associated PamControlledUnit.
-
getOverlayInfo
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 classOverlayDataManager
- Parameters:
dataBlock
- associated datablock.- Returns:
- an OverlayDataInfo - must not be null, so create one if needed.
-