Class EventBuilderFunctions

java.lang.Object
detectiongrouplocaliser.EventBuilderFunctions

public class EventBuilderFunctions extends Object
Functions for putting together an event, similar to functionality within the click detector. This has been kept in a separate class from the main DetectionGroupProcess so that different rule sets can be generated using different versions of this if needed.
Author:
dg50
  • Constructor Details

  • Method Details

    • markUpdate

      public boolean markUpdate(int markStatus, javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark)
    • markEnded

      public boolean markEnded(javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark)
      Don't do anything here anymore. The popup menu at the end was commented out because it caused conflicts when this was called from an FX spectrogram. Without that menu, everything else in this method was for local variables so not needed. The popup menu for swing spectrograms is now called in SpectrogramDisplay.fireMouseUpEvents Need to return a false, or else the regular right-click menu won't show up for spectrogram settings
      Parameters:
      mouseEvent -
      overlayMarker -
      overlayMark -
      Returns:
    • getPopupMenuItems

      public JPopupMenu getPopupMenuItems(DetectionGroupSummary groupSummary)
    • clearLastModifiedDataUnit

      public void clearLastModifiedDataUnit()
      Clear the flag holding onto the last modified data unit