Class WhistleEventGraphics


public class WhistleEventGraphics extends PamDetectionOverlayGraphics
  • Field Details

    • defaultSymbol

      public static final SymbolData defaultSymbol
  • Constructor Details

  • Method Details

    • canDraw

      public boolean canDraw(GeneralProjector generalProjector)
      Description copied from class: PamDetectionOverlayGraphics
      Used to tell the various displays whether or not the data in the parentDataBlock can be drawn on each of those displays. This is based purely on the axis types of the displays and whether or not the parentDataBlock's data untits are likely to have data which can transform into those axis types.

      For simplicity I've broken it up into the three main display types currently existing in Pamguard.

      Overrides:
      canDraw in class PamDetectionOverlayGraphics
      Returns:
      Returns whether or not the object can be drawn using the given projector. The implementation of CanDraw should examine the parameter types in GeneralProjector and check that it will know how to prvide those parameters before returning true, or false otherwise.