Package org.openstreetmap.josm.gui
Class NavigatableComponent.PrimitiveHoverMouseListener
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- org.openstreetmap.josm.gui.NavigatableComponent.PrimitiveHoverMouseListener
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.util.EventListener
- Enclosing class:
- NavigatableComponent
private final class NavigatableComponent.PrimitiveHoverMouseListener extends java.awt.event.MouseAdapter
Listener for mouse movement events. Used to detect when primitives are being hovered over with the mouse pointer so that registeredPrimitiveHoverListener
s can be notified.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PrimitiveHoverMouseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseExited(java.awt.event.MouseEvent e)
void
mouseMoved(java.awt.event.MouseEvent e)
-
-
-
Constructor Detail
-
PrimitiveHoverMouseListener
private PrimitiveHoverMouseListener()
-
-
Method Detail
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseMoved
in classjava.awt.event.MouseAdapter
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Overrides:
mouseExited
in classjava.awt.event.MouseAdapter
-
-