| Package | com.esri.aws.awx.map.handlers |
| Class | public class RubberBandMouseHandler |
| Inheritance | RubberBandMouseHandler flash.events.EventDispatcher |
| Implements | IMouseHandler |
| Property | Defined by | ||
|---|---|---|---|
| centerAndZoomOnMouseUp : Boolean | RubberBandMouseHandler | ||
| color : uint | RubberBandMouseHandler | ||
| fillAlpha : Number | RubberBandMouseHandler | ||
| fillColor : uint | RubberBandMouseHandler | ||
| map : IMap
| RubberBandMouseHandler | ||
| thickness : uint | RubberBandMouseHandler | ||
| useCursor : Boolean | RubberBandMouseHandler | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new RubberBandMouseHandler.
| RubberBandMouseHandler | ||
|
cleanUp():void
Cleans up any extraneous handlers when mouse handler is removed.
| RubberBandMouseHandler | ||
|
onMouseDown(event:MouseEvent):void
On mouse down, changes cursor to crosshair to indicate the beginning of rubberbanding.
| RubberBandMouseHandler | ||
|
onMouseMove(event:MouseEvent):void
On mouse movement, shows the are to zoom in to.
| RubberBandMouseHandler | ||
|
onMouseUp(event:MouseEvent):void
On mouse up, zooms in to selected area.
| RubberBandMouseHandler | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
The user has drawn a box using the RubberBandMouseHandler. | RubberBandMouseHandler | |||
| centerAndZoomOnMouseUp | property |
centerAndZoomOnMouseUp:Boolean [read-write]Implementation
public function get centerAndZoomOnMouseUp():Boolean
public function set centerAndZoomOnMouseUp(value:Boolean):void
| color | property |
color:uint [read-write]
The default value is 0xAA0000.
public function get color():uint
public function set color(value:uint):void
| fillAlpha | property |
fillAlpha:Number [read-write]
The default value is 0.3.
public function get fillAlpha():Number
public function set fillAlpha(value:Number):void
| fillColor | property |
fillColor:uint [read-write]
The default value is 0x444444 .
public function get fillColor():uint
public function set fillColor(value:uint):void
| map | property |
map:IMap [read-write]Implementation
public function get map():IMap
public function set map(value:IMap):void
| thickness | property |
thickness:uint [read-write]
The default value is 2 px.
public function get thickness():uint
public function set thickness(value:uint):void
| useCursor | property |
useCursor:Boolean [read-write]Implementation
public function get useCursor():Boolean
public function set useCursor(value:Boolean):void
| RubberBandMouseHandler | () | constructor |
public function RubberBandMouseHandler()Creates a new RubberBandMouseHandler.
| cleanUp | () | method |
public function cleanUp():voidCleans up any extraneous handlers when mouse handler is removed.
| onMouseDown | () | method |
public function onMouseDown(event:MouseEvent):voidOn mouse down, changes cursor to crosshair to indicate the beginning of rubberbanding.
Parametersevent:MouseEvent |
| onMouseMove | () | method |
public function onMouseMove(event:MouseEvent):voidOn mouse movement, shows the are to zoom in to.
Parametersevent:MouseEvent |
| onMouseUp | () | method |
public function onMouseUp(event:MouseEvent):voidOn mouse up, zooms in to selected area.
Parametersevent:MouseEvent |
| rubberBand | event |
com.esri.aws.awx.events.RubberBandEvent
com.esri.aws.awx.events.RubberBandEvent.RUBBER_BAND
The user has drawn a box using the RubberBandMouseHandler.