Package AIS
Class AISGraphics
-
Field Summary
FieldsFields inherited from class PamView.PamDetectionOverlayGraphics
lineColour, locColour, pamSymbol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canDrawOnRadar
(GeneralProjector.ParameterType radialParameter) createKeyItem
(GeneralProjector generalProjector, int keyType) Gets information for making up a key on various displays.protected Rectangle
drawOnMap
(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) protected Rectangle
drawRangeOnRadar
(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) getHoverText
(GeneralProjector generalProjector, PamDataUnit dataUnit, int side) Get tool tip content for the data unit for this projector.void
setDefaultSymbol
(PamSymbol pamSymbol) Methods inherited from class PamView.PamDetectionOverlayGraphics
canDraw, canDraw, canDrawOnMap, canDrawOnSpectrogram, drawAmplitudeOnRadar, drawDataUnit, drawLineAndSymbol, drawLineAndSymbol, drawLineAndSymbol, drawLineOnly, drawOnSpectrogram, 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
-
Field Details
-
Constructor Details
-
Method Details
-
canDrawOnRadar
- Overrides:
canDrawOnRadar
in classPamDetectionOverlayGraphics
- Parameters:
radialParameter
-- Returns:
- true if these data can be drawn on the radar. The detection will always need a bearing. The radial parameter is either amplitude (which all detections should have) or range which may or may not be there.
-
drawRangeOnRadar
protected Rectangle drawRangeOnRadar(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) - Overrides:
drawRangeOnRadar
in classPamDetectionOverlayGraphics
-
drawOnMap
protected Rectangle drawOnMap(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector) - Overrides:
drawOnMap
in classPamDetectionOverlayGraphics
-
setDefaultSymbol
- Overrides:
setDefaultSymbol
in classPanelOverlayDraw
- Parameters:
pamSymbol
- the defaultSymbol to set
-
createKeyItem
Description copied from class:PamDetectionOverlayGraphics
Gets information for making up a key on various displays. PamKeyItem is not yet implemented.- Overrides:
createKeyItem
in classPamDetectionOverlayGraphics
- Parameters:
generalProjector
- Reference to a GeneralProjector responsible for drawing with the PAnelOverlayDraw implementationkeyType
- Draw a more complicated key, giving more detail- Returns:
- java.awt compnent (usually a JPanel).
- See Also:
-
getHoverText
Description copied from class:PamDetectionOverlayGraphics
Get tool tip content for the data unit for this projector.- Overrides:
getHoverText
in classPamDetectionOverlayGraphics
- Parameters:
generalProjector
- projectordataUnit
- dataunitside
- left or right (0 or 1 I think, might be -1 or +1 though !)- Returns:
- tooltip content consisting of text and / or an image.
-