|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMapMouseAdapter
CursorTool
AbstractZoomTool
public abstract class AbstractZoomTool
Abstract base class for the zoom-in and zoom-out tools. Provides getter / setter methods for the zoom increment.
Field Summary | |
---|---|
static double |
DEFAULT_ZOOM_FACTOR
The default zoom increment |
protected double |
zoom
The working zoom increment |
Constructor Summary | |
---|---|
AbstractZoomTool()
Constructor |
Method Summary | |
---|---|
double |
getZoom()
Get the current areal zoom increment. |
double |
setZoom(double newZoom)
Set the zoom increment |
Methods inherited from class CursorTool |
---|
drawDragBox, getCursor, getMapPane, setMapPane |
Methods inherited from class MapMouseAdapter |
---|
onMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onMouseWheelMoved |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double DEFAULT_ZOOM_FACTOR
protected double zoom
Constructor Detail |
---|
public AbstractZoomTool()
Method Detail |
---|
public double getZoom()
public double setZoom(double newZoom)
newZoom
- the new zoom increment; values <= 1.0
will be ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |