Package org.geotools.swing.event
Interface MapMouseListener
-
- All Known Implementing Classes:
AbstractZoomTool
,CursorTool
,InfoTool
,MapMouseAdapter
,PanTool
,ScrollWheelTool
,ZoomInTool
,ZoomOutTool
public interface MapMouseListener
Interface for classes that listen to MapMouseEvents- Since:
- 2.6
- Author:
- Michael Bedward
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMouseClicked(MapMouseEvent ev)
Respond to a mouse click event received from the map panevoid
onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event received from the map panevoid
onMouseEntered(MapMouseEvent ev)
Respond to a mouse entered event received from the map panevoid
onMouseExited(MapMouseEvent ev)
Respond to a mouse exited event received from the map panevoid
onMouseMoved(MapMouseEvent ev)
Respond to a mouse movement event received from the map panevoid
onMousePressed(MapMouseEvent ev)
Respond to a mouse button press event received from the map panevoid
onMouseReleased(MapMouseEvent ev)
Respond to a mouse button release event received from the map panevoid
onMouseWheelMoved(MapMouseEvent ev)
Respond to a mouse wheel scroll event received from the map pane
-
-
-
Method Detail
-
onMouseClicked
void onMouseClicked(MapMouseEvent ev)
Respond to a mouse click event received from the map pane- Parameters:
ev
- the mouse event
-
onMouseDragged
void onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event received from the map pane- Parameters:
ev
- the mouse event
-
onMouseEntered
void onMouseEntered(MapMouseEvent ev)
Respond to a mouse entered event received from the map pane- Parameters:
ev
- the mouse event
-
onMouseExited
void onMouseExited(MapMouseEvent ev)
Respond to a mouse exited event received from the map pane- Parameters:
ev
- the mouse event
-
onMouseMoved
void onMouseMoved(MapMouseEvent ev)
Respond to a mouse movement event received from the map pane- Parameters:
ev
- the mouse event
-
onMousePressed
void onMousePressed(MapMouseEvent ev)
Respond to a mouse button press event received from the map pane- Parameters:
ev
- the mouse event
-
onMouseReleased
void onMouseReleased(MapMouseEvent ev)
Respond to a mouse button release event received from the map pane- Parameters:
ev
- the mouse event
-
onMouseWheelMoved
void onMouseWheelMoved(MapMouseEvent ev)
Respond to a mouse wheel scroll event received from the map pane- Parameters:
ev
- the mouse event
-
-