API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class WheelHandler

Package | org.openscales.core.handler.mouse
Class | public class WheelHandler
Inheritance | WheelHandler Handler

Handler use to zoom in and zoom out the map thanks to the mouse wheel.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | active : Boolean Getter and setter of the boolean defining the activity of the handler | Handler
|  | map : Map Getter and setter of the map associated to the handler | Handler
|  | toggleHandlerActivity : Function Getter and setter of the callback function used when the handler's activity changes | Handler

Public Methods

| Method | Defined by
--- | --- | ---
|  | WheelHandler(target:Map = null, active:Boolean = true) | WheelHandler

Protected Methods

| Method | Defined by
--- | --- | ---
|  | registerListeners():void | WheelHandler
|  | unregisterListeners():void | WheelHandler

Constructor detail

WheelHandler | () | constructor

`public function WheelHandler(target:Map = null, active:Boolean = true)`Parameters

| `target:Map` (default = `null`)``
| `active:Boolean` (default = `true`)``

Method detail

registerListeners | () | method

`protected override function registerListeners():void`

unregisterListeners | () | method |

`protected override function unregisterListeners():void`