public class ScrollWheelTool extends AbstractZoomTool
DEFAULT_ZOOM_FACTOR, zoom| Constructor and Description |
|---|
ScrollWheelTool(JMapPane mapPane) |
| Modifier and Type | Method and Description |
|---|---|
Cursor |
getCursor()
Get the cursor for this tool.
|
void |
onMouseWheelMoved(MapMouseEvent ev)
Respond to a mouse wheel scroll event received from the map pane
|
getZoom, setZoomdrawDragBox, getMapPane, setMapPaneonMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleasedpublic ScrollWheelTool(JMapPane mapPane)
public Cursor getCursor()
CursorToolgetCursor in class CursorToolpublic void onMouseWheelMoved(MapMouseEvent ev)
MapMouseAdapteronMouseWheelMoved in interface MapMouseListeneronMouseWheelMoved in class MapMouseAdapterev - the mouse eventCopyright © 1996–2019 Geotools. All rights reserved.