Package clickDetector
Class ClickDisplayManager
java.lang.Object
clickDetector.ClickDisplayManager
- All Implemented Interfaces:
PamSettings
,SettingsNameProvider
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClickDisplayManager
(ClickControl clickControl, ClickTabPanelControl clickTabPanelControl) -
Method Summary
Modifier and TypeMethodDescriptionint
countDisplays
(Class displayType) void
void
findDisplay
(Object displayFrame) ArrayList<clickDetector.ClickDisplayManager.ClickDisplayInfo>
long
int
void
gotoEvent
(OfflineEventDataUnit event, int beforeTime) Scroll the time displays to a specific event.boolean
void
void
clickDetector.ClickDisplayManager.ClickDisplayInfo
registerDisplay
(String className, String name, int maxCount, boolean isSmall) boolean
restoreSettings
(PamControlledUnitSettings pamControlledUnitSettings) void
void
setBAutoScroll
(boolean autoScroll) void
Set the default amplitude ranges for the BT display depending on the global medium.
-
Field Details
-
NO_MAX_COUNT
public static final int NO_MAX_COUNT- See Also:
-
-
Constructor Details
-
ClickDisplayManager
-
-
Method Details
-
registerDisplay
-
findDisplay
-
getModulesMenu
-
getTotalCount
public int getTotalCount() -
createDisplays
public void createDisplays() -
createStandardDisplay
public void createStandardDisplay() -
getDisplayInfoList
-
getWindowList
-
getSettingsReference
- Specified by:
getSettingsReference
in interfacePamSettings
- Returns:
- The serialisable object that will be stored
-
restoreWindowSizes
public void restoreWindowSizes() -
countDisplays
-
getSettingsVersion
public long getSettingsVersion()- Specified by:
getSettingsVersion
in interfacePamSettings
- Returns:
- An integer version number for the settings
-
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
-
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
-
isBAutoScroll
public boolean isBAutoScroll() -
setBAutoScroll
public void setBAutoScroll(boolean autoScroll) -
gotoEvent
Scroll the time displays to a specific event.- Parameters:
event
-beforeTime
-
-
playViewerData
public void playViewerData() -
findFirstBTDisplay
-
playClicks
public void playClicks() -
setDefaultAmplitudeScales
public void setDefaultAmplitudeScales()Set the default amplitude ranges for the BT display depending on the global medium.
-