Package clickDetector
Class ConcatenatedSpectrogram
java.lang.Object
Layout.PamFramePlots
clickDetector.ClickDisplay
clickDetector.ConcatenatedSpectrogram
- All Implemented Interfaces:
PamSettings
,SettingsNameProvider
-
Constructor Summary
ConstructorDescriptionConcatenatedSpectrogram
(ClickControl clickControl, ClickDisplayManager clickDisplayManager, clickDetector.ClickDisplayManager.ClickDisplayInfo clickDisplayInfo) ConcatenatedSpectrogram
(STClickControl clickControl, ClickDisplayManager clickDisplayManager, clickDetector.ClickDisplayManager.ClickDisplayInfo clickDisplayInfo) Constructor needed when creating the SoundTrap Click Detector - need to explicitly cast from STClickControl to ClickControl, or else constructor fails -
Method Summary
Modifier and TypeMethodDescriptionvoid
clickedOnClick
(ClickDetection click) getName()
Get a unique name for the displaylong
void
boolean
restoreSettings
(PamControlledUnitSettings pamControlledUnitSettings) void
Methods inherited from class clickDetector.ClickDisplay
created, getClickDisplayInfo, offlineDataChanged, pamStart, pamStop
Methods inherited from class Layout.PamFramePlots
checkDualDisplay, getAxisPanel, getCopyMenuItem, getEastPanel, getFrame, getLeftPlotPanel, getNorthPanel, getPlotPanel, getRightPlotPanel, getSouthPanel, getWestPanel, repaint, setAxisPanel, setEastPanel, setFrame, setLeftPlotPanel, setNorthPanel, setPlotPanel, setRightPlotPanel, setSouthPanel, setWestPanel
-
Constructor Details
-
ConcatenatedSpectrogram
public ConcatenatedSpectrogram(ClickControl clickControl, ClickDisplayManager clickDisplayManager, clickDetector.ClickDisplayManager.ClickDisplayInfo clickDisplayInfo) -
ConcatenatedSpectrogram
public ConcatenatedSpectrogram(STClickControl clickControl, ClickDisplayManager clickDisplayManager, clickDetector.ClickDisplayManager.ClickDisplayInfo clickDisplayInfo) Constructor needed when creating the SoundTrap Click Detector - need to explicitly cast from STClickControl to ClickControl, or else constructor fails- Parameters:
clickControl
-clickDisplayManager
-clickDisplayInfo
-
-
-
Method Details
-
noteNewSettings
public void noteNewSettings()- Specified by:
noteNewSettings
in classClickDisplay
-
getName
Description copied from class:PamFramePlots
Get a unique name for the display- Specified by:
getName
in classPamFramePlots
- Returns:
- a unique name for the display.
-
showPopupMenu
-
getUnitName
- Specified by:
getUnitName
in interfaceSettingsNameProvider
- Returns:
- A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
-
getUnitType
- Specified by:
getUnitType
in interfacePamSettings
- Returns:
- A Name specific to the type, e.g. Click detector
-
getSettingsReference
- Specified by:
getSettingsReference
in interfacePamSettings
- Returns:
- The serialisable object that will be stored
-
getSettingsVersion
public long getSettingsVersion()- Specified by:
getSettingsVersion
in interfacePamSettings
- Returns:
- An integer version number for the settings
-
restoreSettings
- Specified by:
restoreSettings
in interfacePamSettings
- Returns:
- true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
-
clickedOnClick
- Overrides:
clickedOnClick
in classClickDisplay
-