Uses of Class
org.geotools.swing.event.MapMouseEvent
-
Packages that use MapMouseEvent Package Description org.geotools.swing.event Mouse events and listener classes to work with both window and map positions.org.geotools.swing.tool Cursor tools for zooming and panning; subclass to implement additional mouse-driven tools. -
-
Uses of MapMouseEvent in org.geotools.swing.event
Methods in org.geotools.swing.event that return MapMouseEvent Modifier and Type Method Description MapMouseEvent
DefaultMapMouseEventDispatcher. convertEvent(MouseEvent ev)
Converts an incoming Java AWT mouse event to a MapMouseEvent.MapMouseEvent
DefaultMapMouseEventDispatcher. convertEvent(MouseWheelEvent ev)
Converts an incoming Java AWT mouse wheel event to a MapMouseEvent.MapMouseEvent
MapMouseEventDispatcher. convertEvent(MouseEvent ev)
Converts an incoming Java AWT mouse event to a MapMouseEvent.MapMouseEvent
MapMouseEventDispatcher. convertEvent(MouseWheelEvent ev)
Converts an incoming Java AWT mouse wheel event to a MapMouseEvent.Methods in org.geotools.swing.event with parameters of type MapMouseEvent Modifier and Type Method Description void
MapMouseAdapter. onMouseClicked(MapMouseEvent ev)
Respond to a mouse click event received from the map panevoid
MapMouseListener. onMouseClicked(MapMouseEvent ev)
Respond to a mouse click event received from the map panevoid
MapMouseAdapter. onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event received from the map panevoid
MapMouseListener. onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event received from the map panevoid
MapMouseAdapter. onMouseEntered(MapMouseEvent ev)
Respond to a mouse entered event received from the map panevoid
MapMouseListener. onMouseEntered(MapMouseEvent ev)
Respond to a mouse entered event received from the map panevoid
MapMouseAdapter. onMouseExited(MapMouseEvent ev)
Respond to a mouse exited event received from the map panevoid
MapMouseListener. onMouseExited(MapMouseEvent ev)
Respond to a mouse exited event received from the map panevoid
MapMouseAdapter. onMouseMoved(MapMouseEvent ev)
Respond to a mouse movement event received from the map panevoid
MapMouseListener. onMouseMoved(MapMouseEvent ev)
Respond to a mouse movement event received from the map panevoid
MapMouseAdapter. onMousePressed(MapMouseEvent ev)
Respond to a mouse button press event received from the map panevoid
MapMouseListener. onMousePressed(MapMouseEvent ev)
Respond to a mouse button press event received from the map panevoid
MapMouseAdapter. onMouseReleased(MapMouseEvent ev)
Respond to a mouse button release event received from the map panevoid
MapMouseListener. onMouseReleased(MapMouseEvent ev)
Respond to a mouse button release event received from the map panevoid
MapMouseAdapter. onMouseWheelMoved(MapMouseEvent ev)
Respond to a mouse wheel scroll event received from the map panevoid
MapMouseListener. onMouseWheelMoved(MapMouseEvent ev)
Respond to a mouse wheel scroll event received from the map pane -
Uses of MapMouseEvent in org.geotools.swing.tool
Methods in org.geotools.swing.tool with parameters of type MapMouseEvent Modifier and Type Method Description void
InfoTool. onMouseClicked(MapMouseEvent ev)
Respond to a mouse click by querying each of theLayers
.void
ZoomInTool. onMouseClicked(MapMouseEvent e)
Zoom in by the currently set increment, with the map centred at the location (in world coords) of the mouse clickvoid
ZoomOutTool. onMouseClicked(MapMouseEvent ev)
Zoom out by the currently set increment, with the map centred at the location (in world coords) of the mouse clickvoid
PanTool. onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event.void
ZoomInTool. onMouseDragged(MapMouseEvent ev)
Records that the mouse is being draggedvoid
PanTool. onMousePressed(MapMouseEvent ev)
Respond to a mouse button press event from the map mapPane.void
ZoomInTool. onMousePressed(MapMouseEvent ev)
Records the map position of the mouse event in case this button press is the beginning of a mouse dragvoid
PanTool. onMouseReleased(MapMouseEvent ev)
If this button release is the end of a mouse dragged event, requests the map mapPane to repaint the displayvoid
ZoomInTool. onMouseReleased(MapMouseEvent ev)
If the mouse was dragged, determines the bounds of the box that the user defined and passes this to the mapPane'ssetDisplayArea
method.void
ScrollWheelTool. onMouseWheelMoved(MapMouseEvent ev)
-