Package PamView.paneloverlay.overlaymark
Class ExtMouseAdapter
java.lang.Object
PamView.paneloverlay.overlaymark.ExtMouseAdapter
- Direct Known Subclasses:
ExtMapMouseHandler
,OverlayMarker
,OverlayMarkerManager
,TDOverlayAdapter
This is an external mouse adapter class which should work with both Swing and Fx
Mouse events. Classes which implement these functions should only
override the fx functions, leaving the swing ones in peace.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic javafx.scene.input.MouseEvent
fxMouse
(MouseEvent e, javafx.event.EventType eventType) List<javafx.scene.control.MenuItem>
getPopupMenuItems
(javafx.scene.input.MouseEvent e) final boolean
Now all the Swing versions of these functions ...boolean
mouseClicked
(javafx.scene.input.MouseEvent e) final boolean
boolean
mouseDragged
(javafx.scene.input.MouseEvent e) final boolean
boolean
mouseEntered
(javafx.scene.input.MouseEvent e) final boolean
boolean
mouseExited
(javafx.scene.input.MouseEvent e) final boolean
boolean
mouseMoved
(javafx.scene.input.MouseEvent e) final boolean
boolean
mousePressed
(javafx.scene.input.MouseEvent e) final boolean
boolean
mouseReleased
(javafx.scene.input.MouseEvent e) final boolean
boolean
mouseWheelMoved
(javafx.scene.input.ScrollEvent e) static MouseEvent
swingMouse
(javafx.scene.input.MouseEvent fxMouse)
-
Constructor Details
-
ExtMouseAdapter
public ExtMouseAdapter()
-
-
Method Details
-
mouseClicked
public boolean mouseClicked(javafx.scene.input.MouseEvent e) -
mouseDragged
public boolean mouseDragged(javafx.scene.input.MouseEvent e) -
mouseEntered
public boolean mouseEntered(javafx.scene.input.MouseEvent e) -
mouseExited
public boolean mouseExited(javafx.scene.input.MouseEvent e) -
mouseMoved
public boolean mouseMoved(javafx.scene.input.MouseEvent e) -
mousePressed
public boolean mousePressed(javafx.scene.input.MouseEvent e) -
mouseReleased
public boolean mouseReleased(javafx.scene.input.MouseEvent e) -
mouseWheelMoved
public boolean mouseWheelMoved(javafx.scene.input.ScrollEvent e) -
mouseClicked
Now all the Swing versions of these functions ... -
mouseDragged
-
mouseEntered
-
mouseExited
-
mouseMoved
-
mousePressed
-
mouseReleased
-
mouseWheelMoved
-
fxMouse
-
swingMouse
-
getPopupMenuItems
-