Package dataPlotsFX.overlaymark
Class TDOverlayAdapter
java.lang.Object
PamView.paneloverlay.overlaymark.ExtMouseAdapter
dataPlotsFX.overlaymark.TDOverlayAdapter
- Direct Known Subclasses:
DragMarkerAdapter
,TDMarkerAdapter
An overlay adapter allows user mouse and touch interactions with the display.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawMark
(javafx.scene.canvas.GraphicsContext graphicsContext2D) Draw the markabstract javafx.scene.Node
getIcon()
The icon for the marker adapterGet an overlay markGet the selected detectionsabstract javafx.scene.control.Tooltip
abstract boolean
Any displays using this manager need to be paused.abstract void
subscribePanel
(TDGraphFX.TDPlotPane fxPlot) Called when the adapter is subscribed to a panel.Methods inherited from class PamView.paneloverlay.overlaymark.ExtMouseAdapter
fxMouse, getPopupMenuItems, mouseClicked, mouseClicked, mouseDragged, mouseDragged, mouseEntered, mouseEntered, mouseExited, mouseExited, mouseMoved, mouseMoved, mousePressed, mousePressed, mouseReleased, mouseReleased, mouseWheelMoved, mouseWheelMoved, swingMouse
-
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
Called when the adapter is subscribed to a panel.- Parameters:
fxPlot
- - the plot panel.
-
getToolTip
public abstract javafx.scene.control.Tooltip getToolTip() -
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
Get an overlay mark -
needPaused
public abstract boolean needPaused()Any displays using this manager need to be paused.- Returns:
-