Package quickAnnotation
Class QuickAnnotationOverlayDraw
java.lang.Object
PamView.PanelOverlayDraw
PamView.PamDetectionOverlayGraphics
annotationMark.MarkOverlayDraw
quickAnnotation.QuickAnnotationOverlayDraw
-
Field Summary
Fields inherited from class annotationMark.MarkOverlayDraw
defaultSymbolData
-
Constructor Summary
ConstructorDescriptionQuickAnnotationOverlayDraw
(MarkDataBlock markDataBlock, MarkModule annotationModule) -
Method Summary
Modifier and TypeMethodDescriptiondrawDataUnit
(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) Draw a PamDataUnit on a display.Methods inherited from class annotationMark.MarkOverlayDraw
canDraw, createKeyItem, drawOnSpectrogram, getDefaultSymbol, getHoverText, hasOptionsDialog, showOptions
Methods inherited from class PamView.PamDetectionOverlayGraphics
canDraw, getDefaultRange, getHoverImage, getHoverTextWithoutWrap, getLineColor, getLineColour, getLocColour, getMenuKeyItem, getPamSymbol, getParentDataBlock, getPerspectiveSymbol, getSymbolInfo, isDetectionData, setDefaultRange, setDetectionData, setLineColor, setLineColour, setLocColour
Methods inherited from class PamView.PanelOverlayDraw
preDrawAnything, setDefaultSymbol
-
Constructor Details
-
QuickAnnotationOverlayDraw
-
-
Method Details
-
drawDataUnit
public Rectangle drawDataUnit(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) Description copied from class:PamDetectionOverlayGraphics
Draw a PamDataUnit on a display.This is split into separate routines for the three main display types for simplicity both of reading this code and for overriding the various functions.
If display types are added to PAMGUARD, these functions will need to be added to.
- Overrides:
drawDataUnit
in classPamDetectionOverlayGraphics
- Parameters:
g
- Graphics handle to draw onpamDataUnit
- PamDataUnit to drawgeneralProjector
- Projector to use when drawing.- Returns:
- A rectangle surrouding whatever has just been drawn.
-