Package RightWhaleEdgeDetector
Class RWEOverlayGraphics
java.lang.Object
PamView.PanelOverlayDraw
PamView.PamDetectionOverlayGraphics
RightWhaleEdgeDetector.RWEOverlayGraphics
-
Field Summary
FieldsFields inherited from class PamView.PamDetectionOverlayGraphics
lineColour, locColour, pamSymbol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Rectangle
drawOnSpectrogram
(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) Draw on spectrogram changed March 2010 so that the default time unit is milliseconds (Java time from 1970) rather than samples.getHoverText
(GeneralProjector generalProjector, PamDataUnit dataUnit, int iSide) Get tool tip content for the data unit for this projector.Methods inherited from class PamView.PamDetectionOverlayGraphics
canDraw, canDraw, canDrawOnMap, canDrawOnRadar, canDrawOnSpectrogram, createKeyItem, drawAmplitudeOnRadar, drawDataUnit, drawLineAndSymbol, drawLineAndSymbol, drawLineAndSymbol, drawLineOnly, drawOnMap, drawRangeOnRadar, drawSlantOnRadar, getDefaultRange, getHoverImage, getHoverTextWithoutWrap, getHydrophones, getLineColor, getLineColour, getLocColour, getMenuKeyItem, getPamSymbol, getParentDataBlock, getPerspectiveSymbol, getSymbolInfo, hasOptionsDialog, isDetectionData, setDefaultRange, setDetectionData, setLineColor, setLineColour, setLocColour, showOptions
Methods inherited from class PamView.PanelOverlayDraw
getDefaultSymbol, preDrawAnything, setDefaultSymbol
-
Field Details
-
Constructor Details
-
Method Details
-
drawOnSpectrogram
protected Rectangle drawOnSpectrogram(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) Description copied from class:PamDetectionOverlayGraphics
Draw on spectrogram changed March 2010 so that the default time unit is milliseconds (Java time from 1970) rather than samples. This makes it posible to work with data collected over multiple files when operating in viewer mode.- Overrides:
drawOnSpectrogram
in classPamDetectionOverlayGraphics
- Parameters:
g
-pamDataUnit
-generalProjector
-- Returns:
- updated rectangle
-
getHoverText
Description copied from class:PamDetectionOverlayGraphics
Get tool tip content for the data unit for this projector.- Overrides:
getHoverText
in classPamDetectionOverlayGraphics
- Parameters:
generalProjector
- projectordataUnit
- dataunitiSide
- left or right (0 or 1 I think, might be -1 or +1 though !)- Returns:
- tooltip content consisting of text and / or an image.
-