Class CTDataUnitGraphics


public class CTDataUnitGraphics extends PamDetectionOverlayGraphics
Swing based graphics for drawing click trains on the map.
Author:
Jamie Macaulay
  • Field Details

    • defSymbol

      public static final SymbolData defSymbol
  • Constructor Details

    • CTDataUnitGraphics

      public CTDataUnitGraphics(PamDataBlock parentDataBlock)
  • Method Details

    • getPamSymbol

      public PamSymbol getPamSymbol(PamDataUnit pamDataUnit, GeneralProjector projector)
      Override this function so symbols (which are drawn from sub detection sometimes) are always from the super detection.
      Overrides:
      getPamSymbol in class PamDetectionOverlayGraphics
      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.