Class TDOverlayAdapter

java.lang.Object
PamView.paneloverlay.overlaymark.ExtMouseAdapter
dataPlotsFX.overlaymark.TDOverlayAdapter
Direct Known Subclasses:
DragMarkerAdapter, TDMarkerAdapter

public abstract class TDOverlayAdapter extends ExtMouseAdapter
An overlay adapter allows user mouse and touch interactions with the display.
Author:
Jamie Macaulay
  • Constructor Details

    • TDOverlayAdapter

      public TDOverlayAdapter()
  • Method Details

    • getIcon

      public abstract javafx.scene.Node getIcon()
      The icon for the marker adapter
      Returns:
      get the icon
    • subscribePanel

      public abstract void subscribePanel(TDGraphFX.TDPlotPane fxPlot)
      Called when the adapter is subscribed to a panel.
      Parameters:
      fxPlot - - the plot panel.
    • getToolTip

      public abstract javafx.scene.control.Tooltip getToolTip()
    • getSelectedDetectionGroup

      public DetectionGroupSummary getSelectedDetectionGroup()
      Get the selected detections
      Returns:
      the selected detections.
    • drawMark

      public void drawMark(javafx.scene.canvas.GraphicsContext graphicsContext2D)
      Draw the mark
      Parameters:
      graphicsContext2D - - the graphics context to draw on.
    • getOverlayMark

      public OverlayMark getOverlayMark()
      Get an overlay mark
    • needPaused

      public abstract boolean needPaused()
      Any displays using this manager need to be paused.
      Returns: