Class IshOverlayGraphics


public class IshOverlayGraphics extends PamDetectionOverlayGraphics
Process for choosing a symbol to represent IshLocalizations on the map (and elsewhere).
Author:
Dave Mellinger
  • Field Details

    • defaultSymbol

      public static final SymbolData defaultSymbol
  • Constructor Details

    • IshOverlayGraphics

      public IshOverlayGraphics(PamDataBlock parentDataBlock)
  • 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 class PamDetectionOverlayGraphics
      Parameters:
      g - Graphics handle to draw on
      pamDataUnit - PamDataUnit to draw
      generalProjector - Projector to use when drawing.
      Returns:
      A rectangle surrouding whatever has just been drawn.