Package detectiongrouplocaliser
Class EventBuilderFunctions
java.lang.Object
detectiongrouplocaliser.EventBuilderFunctions
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clear the flag holding onto the last modified data unitgetPopupMenuItems
(DetectionGroupSummary groupSummary) boolean
markEnded
(javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark) Don't do anything here anymore.boolean
markUpdate
(int markStatus, javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark)
-
Constructor Details
-
EventBuilderFunctions
-
-
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
-
clearLastModifiedDataUnit
public void clearLastModifiedDataUnit()Clear the flag holding onto the last modified data unit
-