Packagecom.esri.bacore.thematicmapping
Classpublic class TMLayerAvailableEvent
InheritanceTMLayerAvailableEvent Inheritance flash.events.Event

The TMLayerAvailableEvent event is dispatched when an availability of the thematic layer is changed.



Public Properties
 PropertyDefined By
  isAvailable : Boolean
[read-only] Whether the thematic layer available for the current map scale or not.
TMLayerAvailableEvent
  map : Map
[read-only] The map associated with the layer.
TMLayerAvailableEvent
Public Methods
 MethodDefined By
  
TMLayerAvailableEvent(map:Map, isAvailable:Boolean)
Creates a new instance of the TMLayerAvailableEvent class.
TMLayerAvailableEvent
  
clone():Event
[override] Creates a clone of the event.
TMLayerAvailableEvent
  
toString():String
[override] Gets the description of the event.
TMLayerAvailableEvent
Public Constants
 ConstantDefined By
  TYPE : String = tmLayerAvailable
[static] The TMLayerAvailableEvent.TYPE constant defines the value of the type property of the event object for a tmLayerAvailable event.
TMLayerAvailableEvent
Property Detail
isAvailableproperty
isAvailable:Boolean  [read-only]

Whether the thematic layer available for the current map scale or not.


Implementation
    public function get isAvailable():Boolean
mapproperty 
map:Map  [read-only]

The map associated with the layer.


Implementation
    public function get map():Map
Constructor Detail
TMLayerAvailableEvent()Constructor
public function TMLayerAvailableEvent(map:Map, isAvailable:Boolean)

Creates a new instance of the TMLayerAvailableEvent class.

Parameters
map:Map — The map associated with the layer.
 
isAvailable:Boolean — Layer availability status for the current map scale.
Method Detail
clone()method
override public function clone():Event

Creates a clone of the event.

Returns
Event — Shallow copy of the event.
toString()method 
override public function toString():String

Gets the description of the event.

Returns
String — String representation of the event.
Constant Detail
TYPEConstant
public static const TYPE:String = tmLayerAvailable

The TMLayerAvailableEvent.TYPE constant defines the value of the type property of the event object for a tmLayerAvailable event.

The properties of the event object have the following values:

PropertyValue
babblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event.
isAvailableIs layer available for the given scale.
mapThe map associated with the layer.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.