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.
|
Modifier and Type | Method and Description |
---|---|
MapMouseEvent |
MapMouseEventDispatcher.convertEvent(MouseEvent ev)
Converts an incoming Java AWT mouse event to a MapMouseEvent.
|
MapMouseEvent |
DefaultMapMouseEventDispatcher.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.
|
MapMouseEvent |
DefaultMapMouseEventDispatcher.convertEvent(MouseWheelEvent ev)
Converts an incoming Java AWT mouse wheel event to a MapMouseEvent.
|
Modifier and Type | Method and Description |
---|---|
void |
MapMouseListener.onMouseClicked(MapMouseEvent ev)
Respond to a mouse click event received from the map pane
|
void |
MapMouseAdapter.onMouseClicked(MapMouseEvent ev)
Respond to a mouse click event received from the map pane
|
void |
MapMouseListener.onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event received from the map pane
|
void |
MapMouseAdapter.onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event received from the map pane
|
void |
MapMouseListener.onMouseEntered(MapMouseEvent ev)
Respond to a mouse entered event received from the map pane
|
void |
MapMouseAdapter.onMouseEntered(MapMouseEvent ev)
Respond to a mouse entered event received from the map pane
|
void |
MapMouseListener.onMouseExited(MapMouseEvent ev)
Respond to a mouse exited event received from the map pane
|
void |
MapMouseAdapter.onMouseExited(MapMouseEvent ev)
Respond to a mouse exited event received from the map pane
|
void |
MapMouseListener.onMouseMoved(MapMouseEvent ev)
Respond to a mouse movement event received from the map pane
|
void |
MapMouseAdapter.onMouseMoved(MapMouseEvent ev)
Respond to a mouse movement event received from the map pane
|
void |
MapMouseListener.onMousePressed(MapMouseEvent ev)
Respond to a mouse button press event received from the map pane
|
void |
MapMouseAdapter.onMousePressed(MapMouseEvent ev)
Respond to a mouse button press event received from the map pane
|
void |
MapMouseListener.onMouseReleased(MapMouseEvent ev)
Respond to a mouse button release event received from the map pane
|
void |
MapMouseAdapter.onMouseReleased(MapMouseEvent ev)
Respond to a mouse button release event received from the map pane
|
void |
MapMouseListener.onMouseWheelMoved(MapMouseEvent ev)
Respond to a mouse wheel scroll event received from the map pane
|
void |
MapMouseAdapter.onMouseWheelMoved(MapMouseEvent ev)
Respond to a mouse wheel scroll event received from the map pane
|
Modifier and Type | Method and Description |
---|---|
void |
InfoTool.onMouseClicked(MapMouseEvent ev)
Respond to a mouse click by querying each of the
Layers . |
void |
ZoomOutTool.onMouseClicked(MapMouseEvent ev)
Zoom out by the currently set increment, with the map centred at the location (in world
coords) of the mouse click
|
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 click
|
void |
PanTool.onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event.
|
void |
ZoomInTool.onMouseDragged(MapMouseEvent ev)
Records that the mouse is being dragged
|
void |
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 drag
|
void |
PanTool.onMouseReleased(MapMouseEvent ev)
If this button release is the end of a mouse dragged event, requests the map mapPane to
repaint the display
|
void |
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's
setDisplayArea method. |
void |
ScrollWheelTool.onMouseWheelMoved(MapMouseEvent ev) |
Copyright © 1996–2019 Geotools. All rights reserved.