public class MouseWheelZoomingController extends Object
| Constructor and Description |
|---|
MouseWheelZoomingController(ScaleController scaleController)
Creates a new instance of this class, attached to a
ScaleController. |
| Modifier and Type | Method and Description |
|---|---|
double |
getZoomFactor() |
boolean |
isEnabled()
Returns true if the controller is enabled.
|
void |
setEnabled(boolean enabled)
Enables or disables this controller.
|
void |
setZoomFactor(double zoomFactor) |
public MouseWheelZoomingController(ScaleController scaleController)
ScaleController. This controller must be
activated with setEnabled(true) in order to be used.scaleController - the scale controllerpublic void setEnabled(boolean enabled)
enabled - true if must be enabled, false otherwisepublic boolean isEnabled()
public void setZoomFactor(double zoomFactor)
public double getZoomFactor()
Copyright © 2003–2014 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.