Package clickTrainDetector.layout
Class CTDataUnitGraphics
java.lang.Object
PamView.PanelOverlayDraw
PamView.PamDetectionOverlayGraphics
clickTrainDetector.layout.CTDataUnitGraphics
Swing based graphics for drawing click trains on the map.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
FieldsFields inherited from class PamView.PamDetectionOverlayGraphics
lineColour, locColour, pamSymbol - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected RectangledrawOnMap(Graphics g, PamDataUnit pamDetection, GeneralProjector generalProjector) (non-Javadoc)getPamSymbol(PamDataUnit pamDataUnit, GeneralProjector projector) Override this function so symbols (which are drawn from sub detection sometimes) are always from the super detection.Methods inherited from class PamView.PamDetectionOverlayGraphics
canDraw, canDraw, canDrawOnMap, canDrawOnRadar, canDrawOnSpectrogram, createKeyItem, drawAmplitudeOnRadar, drawDataUnit, drawLineAndSymbol, drawLineAndSymbol, drawLineAndSymbol, drawLineOnly, drawOnSpectrogram, drawRangeOnRadar, drawSlantOnRadar, getDefaultRange, getHoverImage, getHoverText, getHoverTextWithoutWrap, getHydrophones, getLineColor, getLineColour, getLocColour, getMenuKeyItem, getParentDataBlock, getPerspectiveSymbol, getSymbolInfo, hasOptionsDialog, isDetectionData, setDefaultRange, setDetectionData, setLineColor, setLineColour, setLocColour, showOptionsMethods inherited from class PamView.PanelOverlayDraw
getDefaultSymbol, preDrawAnything, setDefaultSymbol 
- 
Field Details
- 
defSymbol
 
 - 
 - 
Constructor Details
- 
CTDataUnitGraphics
 
 - 
 - 
Method Details
- 
drawOnMap
protected Rectangle drawOnMap(Graphics g, PamDataUnit pamDetection, GeneralProjector generalProjector) (non-Javadoc)- Overrides:
 drawOnMapin classPamDetectionOverlayGraphics- See Also:
 
 - 
getPamSymbol
Override this function so symbols (which are drawn from sub detection sometimes) are always from the super detection.- Overrides:
 getPamSymbolin classPamDetectionOverlayGraphics- Parameters:
 pamDataUnit-- Returns:
 - PamSymbol to use in plotting. Generally this is just the set symbol for the overlay, but can be overridden if a detector has some complicated way of using different symbols for different dataUnits.
 
 
 -