public abstract class AbstractZoomTool extends CursorTool
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_ZOOM_FACTOR
The default zoom increment
|
protected double |
zoom
The working zoom increment
|
| Constructor and Description |
|---|
AbstractZoomTool()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getZoom()
Get the current areal zoom increment.
|
double |
setZoom(double newZoom)
Set the zoom increment
|
drawDragBox, getCursor, getMapPane, setMapPaneonMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onMouseWheelMovedpublic static final double DEFAULT_ZOOM_FACTOR
protected double zoom
public double getZoom()
public double setZoom(double newZoom)
newZoom - the new zoom increment; values <= 1.0 will be ignoredCopyright © 1996–2019 Geotools. All rights reserved.