| Package | com.esri.aws.awx.map.handlers |
| Class | public class PanZoomKeyboardHandler |
| Implements | IKeyboardHandler |
See also
| Property | Defined by | ||
|---|---|---|---|
| map : IMap
[write-only]
The map reference.
| PanZoomKeyboardHandler | ||
| panStep : Number
The number of pixels to move by.
| PanZoomKeyboardHandler | ||
| Method | Defined by | ||
|---|---|---|---|
|
cleanUp():void
Cleans up when the keyboard handler is removed.
| PanZoomKeyboardHandler | ||
|
onKeyDown(event:KeyboardEvent):void
Throws the onKeyDown keyboard event and turns on the rubberband cursor.
| PanZoomKeyboardHandler | ||
|
onKeyUp(event:KeyboardEvent):void
onKeyUp determines which key has been depressed and pans\zooms
accordingly.
| PanZoomKeyboardHandler | ||
| map | property |
| panStep | property |
panStep:Number [read-write]The number of pixels to move by.
The default value is 200.
public function get panStep():Number
public function set panStep(value:Number):void
| cleanUp | () | method |
public function cleanUp():voidCleans up when the keyboard handler is removed.
| onKeyDown | () | method |
public function onKeyDown(event:KeyboardEvent):voidThrows the onKeyDown keyboard event and turns on the rubberband cursor.
Parametersevent:KeyboardEvent — the KeyboardEvent that triggered the method.
|
| onKeyUp | () | method |
public function onKeyUp(event:KeyboardEvent):voidonKeyUp determines which key has been depressed and pans\zooms accordingly. [+][-][Page Up][Page Down] zoom in and out. Arrow keys pan left, right, up and down.
Parametersevent:KeyboardEvent — the KeyboardEvent that triggered the method.
|