Package org.geotools.swing.event
Class MapMouseAdapter
Object
MapMouseAdapter
- All Implemented Interfaces:
MapMouseListener
- Direct Known Subclasses:
CursorTool
An adapter class that implements all of the mouse event handling methods defined in the MapMouseListener interface as
empty methods, allowing sub-classes to just override the methods they need.
- Since:
- 2.6
- Author:
- Michael Bedward
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Respond to a mouse click event received from the map panevoid
Respond to a mouse dragged event received from the map panevoid
Respond to a mouse entered event received from the map panevoid
Respond to a mouse exited event received from the map panevoid
Respond to a mouse movement event received from the map panevoid
Respond to a mouse button press event received from the map panevoid
Respond to a mouse button release event received from the map panevoid
Respond to a mouse wheel scroll event received from the map pane
-
Constructor Details
-
MapMouseAdapter
public MapMouseAdapter()
-
-
Method Details
-
onMouseClicked
Respond to a mouse click event received from the map pane- Specified by:
onMouseClicked
in interfaceMapMouseListener
- Parameters:
ev
- the mouse event
-
onMouseDragged
Respond to a mouse dragged event received from the map pane- Specified by:
onMouseDragged
in interfaceMapMouseListener
- Parameters:
ev
- the mouse event
-
onMouseEntered
Respond to a mouse entered event received from the map pane- Specified by:
onMouseEntered
in interfaceMapMouseListener
- Parameters:
ev
- the mouse event
-
onMouseExited
Respond to a mouse exited event received from the map pane- Specified by:
onMouseExited
in interfaceMapMouseListener
- Parameters:
ev
- the mouse event
-
onMouseMoved
Respond to a mouse movement event received from the map pane- Specified by:
onMouseMoved
in interfaceMapMouseListener
- Parameters:
ev
- the mouse event
-
onMousePressed
Respond to a mouse button press event received from the map pane- Specified by:
onMousePressed
in interfaceMapMouseListener
- Parameters:
ev
- the mouse event
-
onMouseReleased
Respond to a mouse button release event received from the map pane- Specified by:
onMouseReleased
in interfaceMapMouseListener
- Parameters:
ev
- the mouse event
-
onMouseWheelMoved
Respond to a mouse wheel scroll event received from the map pane- Specified by:
onMouseWheelMoved
in interfaceMapMouseListener
- Parameters:
ev
- the mouse event
-