Packagecom.esri.aws.awx.events
Classpublic class RubberBandEvent
InheritanceRubberBandEvent Inheritance flash.events.Event

RubberBandEvent is dispatched by the RubberBandMouseHandler in order to trap the extent that the user drew.

See also

com.esri.aws.awx.map.handlers.RubberBandMouseHandler


Public Properties
 PropertyDefined by
  extent : Extent
The bounding box (maxX, maxY, minX, minY) of the box the user drew.
RubberBandEvent
Public Methods
 MethodDefined by
  
RubberBandEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new RubberBandEvent.
RubberBandEvent
Public Constants
 ConstantDefined by
  RUBBER_BAND : String = "rubberBand"
[static] The user has drawn a box using the RubberBandMouseHandler.
RubberBandEvent
Property detail
extentproperty
public var extent:Extent

The bounding box (maxX, maxY, minX, minY) of the box the user drew.

Constructor detail
RubberBandEvent()constructor
public function RubberBandEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new RubberBandEvent.

Parameters
type:String — The event type; indicates the action that caused the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
Constant detail
RUBBER_BANDconstant
public static const RUBBER_BAND:String = "rubberBand"

The user has drawn a box using the RubberBandMouseHandler.