Package org.geotools.swing.event
Interface MapMouseListener
-
- All Known Implementing Classes:
AbstractZoomTool,CursorTool,InfoTool,MapMouseAdapter,PanTool,ScrollWheelTool,ZoomInTool,ZoomOutTool
public interface MapMouseListenerInterface 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 voidonMouseClicked(MapMouseEvent ev)Respond to a mouse click event received from the map panevoidonMouseDragged(MapMouseEvent ev)Respond to a mouse dragged event received from the map panevoidonMouseEntered(MapMouseEvent ev)Respond to a mouse entered event received from the map panevoidonMouseExited(MapMouseEvent ev)Respond to a mouse exited event received from the map panevoidonMouseMoved(MapMouseEvent ev)Respond to a mouse movement event received from the map panevoidonMousePressed(MapMouseEvent ev)Respond to a mouse button press event received from the map panevoidonMouseReleased(MapMouseEvent ev)Respond to a mouse button release event received from the map panevoidonMouseWheelMoved(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
-
-