Package dataPlotsFX.overlaymark
Class StandardOverlayMarker
java.lang.Object
PamView.paneloverlay.overlaymark.ExtMouseAdapter
PamView.paneloverlay.overlaymark.OverlayMarker
dataPlotsFX.overlaymark.StandardOverlayMarker
- All Implemented Interfaces:
MarkManager
- Direct Known Subclasses:
TDMarkerFX
A TDMarker which uses the standard PamGuard behaviours from OverlayMarker;
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawMark
(javafx.scene.canvas.GraphicsContext graphicsContext2D) Draw the mark on an fx display using it's current projectorGet the currently selected detectionsboolean
isCanMark
(javafx.scene.input.MouseEvent e) boolean
notifyObservers
(int markStatus, javafx.scene.input.MouseEvent mouseEvent, OverlayMarker overlayMarker, OverlayMark overlayMark) void
subscribePanel
(TDGraphFX.TDPlotPane fxPlot) Subscribe to all required mouse events from a panel.Methods inherited from class PamView.paneloverlay.overlaymark.OverlayMarker
addObserver, canDestroyMark, canMark, createJPopMenu, destroyCurrentMark, findClosestData, getCurrentMark, getMarkWarning, getObserverCount, getObservers, getPopupMenuItems, getProjector, getSelectedMarkedDataUnits, getSelectedMarkedDataUnits, isMarkComplete, isMouseContained, isNowMarking, mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, needPaused, removeObserver, setCurrentMark, setNowMarking, setProjector, showNoObserverPopup, showObserverPopups, updateMarkedDisplay
Methods inherited from class PamView.paneloverlay.overlaymark.ExtMouseAdapter
fxMouse, mouseClicked, mouseDragged, mouseEntered, mouseEntered, mouseExited, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, mouseWheelMoved, swingMouse
-
Constructor Details
-
StandardOverlayMarker
-
-
Method Details
-
subscribePanel
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 classOverlayMarker
-
getMarkerName
- Specified by:
getMarkerName
in classOverlayMarker
-
drawMark
public void drawMark(javafx.scene.canvas.GraphicsContext graphicsContext2D) Draw the mark on an fx display using it's current projector- Parameters:
graphicsContext2D
-
-
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 classOverlayMarker
-
getTdGraphFX
-