Package UserInput
Class UserInputOverlayGraphics
java.lang.Object
PamView.PanelOverlayDraw
PamView.PamDetectionOverlayGraphics
UserInput.UserInputOverlayGraphics
-
Field Summary
Fields inherited from class PamView.PamDetectionOverlayGraphics
lineColour, locColour, pamSymbol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected Rectangle
drawOnSpectrogram
(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) Draw little triangles at top and bottom of spectrogram - better than boxes for things that only have a start timestamps.getName()
void
Methods inherited from class PamView.PamDetectionOverlayGraphics
canDraw, canDraw, canDrawOnMap, canDrawOnRadar, createKeyItem, drawAmplitudeOnRadar, drawDataUnit, drawLineAndSymbol, drawLineAndSymbol, drawLineAndSymbol, drawLineOnly, drawOnMap, drawRangeOnRadar, drawSlantOnRadar, getDefaultRange, getHoverImage, getHoverText, 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
-
Constructor Details
-
Method Details
-
canDrawOnSpectrogram
protected boolean canDrawOnSpectrogram()- Overrides:
canDrawOnSpectrogram
in classPamDetectionOverlayGraphics
- Returns:
- true if these data can be drawn on the spectrogram.
Generally, this is always true since it will just draw a rectangle with the time and frequency limits of the sound. If it is not the case, then override this function and return false.
-
drawOnSpectrogram
protected Rectangle drawOnSpectrogram(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) Draw little triangles at top and bottom of spectrogram - better than boxes for things that only have a start timestamps.- Overrides:
drawOnSpectrogram
in classPamDetectionOverlayGraphics
- Parameters:
g
-pamDataUnit
-generalProjector
-- Returns:
- updated rectangle
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-