Package dataPlotsFX.overlaymark
Class DragMarkerAdapter
java.lang.Object
PamView.paneloverlay.overlaymark.ExtMouseAdapter
dataPlotsFX.overlaymark.TDOverlayAdapter
dataPlotsFX.overlaymark.DragMarkerAdapter
A mouse adapter which allows panning of the display.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
getIcon()
The icon for the marker adapterjavafx.scene.control.Tooltip
boolean
mouseClicked
(javafx.scene.input.MouseEvent e) boolean
mouseDragged
(javafx.scene.input.MouseEvent e) boolean
mouseEntered
(javafx.scene.input.MouseEvent e) boolean
mouseExited
(javafx.scene.input.MouseEvent e) boolean
mouseMoved
(javafx.scene.input.MouseEvent e) boolean
mousePressed
(javafx.scene.input.MouseEvent e) boolean
mouseReleased
(javafx.scene.input.MouseEvent e) boolean
mouseWheelMoved
(javafx.scene.input.ScrollEvent e) boolean
Any displays using this manager need to be paused.void
subscribePanel
(TDGraphFX.TDPlotPane fxPlot) Called when the adapter is subscribed to a panel.Methods inherited from class dataPlotsFX.overlaymark.TDOverlayAdapter
drawMark, getOverlayMark, getSelectedDetectionGroup
Methods inherited from class PamView.paneloverlay.overlaymark.ExtMouseAdapter
fxMouse, getPopupMenuItems, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, swingMouse
-
Constructor Details
-
DragMarkerAdapter
-
-
Method Details
-
getIcon
public javafx.scene.Node getIcon()Description copied from class:TDOverlayAdapter
The icon for the marker adapter- Specified by:
getIcon
in classTDOverlayAdapter
- Returns:
- get the icon
-
subscribePanel
Description copied from class:TDOverlayAdapter
Called when the adapter is subscribed to a panel.- Specified by:
subscribePanel
in classTDOverlayAdapter
- Parameters:
fxPlot
- - the plot panel.
-
getToolTip
public javafx.scene.control.Tooltip getToolTip()- Specified by:
getToolTip
in classTDOverlayAdapter
-
mouseClicked
public boolean mouseClicked(javafx.scene.input.MouseEvent e) - Overrides:
mouseClicked
in classExtMouseAdapter
-
mouseDragged
public boolean mouseDragged(javafx.scene.input.MouseEvent e) - Overrides:
mouseDragged
in classExtMouseAdapter
-
mouseEntered
public boolean mouseEntered(javafx.scene.input.MouseEvent e) - Overrides:
mouseEntered
in classExtMouseAdapter
-
mouseExited
public boolean mouseExited(javafx.scene.input.MouseEvent e) - Overrides:
mouseExited
in classExtMouseAdapter
-
mouseMoved
public boolean mouseMoved(javafx.scene.input.MouseEvent e) - Overrides:
mouseMoved
in classExtMouseAdapter
-
mousePressed
public boolean mousePressed(javafx.scene.input.MouseEvent e) - Overrides:
mousePressed
in classExtMouseAdapter
-
mouseReleased
public boolean mouseReleased(javafx.scene.input.MouseEvent e) - Overrides:
mouseReleased
in classExtMouseAdapter
-
mouseWheelMoved
public boolean mouseWheelMoved(javafx.scene.input.ScrollEvent e) - Overrides:
mouseWheelMoved
in classExtMouseAdapter
-
needPaused
public boolean needPaused()Description copied from class:TDOverlayAdapter
Any displays using this manager need to be paused.- Specified by:
needPaused
in classTDOverlayAdapter
- Returns:
-