Class StandardOverlayMarker

All Implemented Interfaces:
MarkManager
Direct Known Subclasses:
TDMarkerFX

public class StandardOverlayMarker extends OverlayMarker
A TDMarker which uses the standard PamGuard behaviours from OverlayMarker;
Author:
Jamie Macaulay
  • Constructor Details

    • StandardOverlayMarker

      public StandardOverlayMarker(TDGraphFX tdGraphFX)
  • Method Details

    • subscribePanel

      public void subscribePanel(TDGraphFX.TDPlotPane fxPlot)
      Subscribe to all required mouse events from a panel.
      Parameters:
      fxPlot -
    • notifyObservers

      public boolean notifyObservers(int markStatus, javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark)
      Overrides:
      notifyObservers in class OverlayMarker
    • getMarkerName

      public String getMarkerName()
      Specified by:
      getMarkerName in class OverlayMarker
    • drawMark

      public void drawMark(javafx.scene.canvas.GraphicsContext graphicsContext2D)
      Draw the mark on an fx display using it's current projector
      Parameters:
      graphicsContext2D -
    • getCurrentDetectionGroup

      public DetectionGroupSummary getCurrentDetectionGroup()
      Get the currently selected detections
      Returns:
      a class containing info on selected detections
    • isCanMark

      public boolean isCanMark(javafx.scene.input.MouseEvent e)
      Overrides:
      isCanMark in class OverlayMarker
    • getTdGraphFX

      public TDGraphFX getTdGraphFX()