Packagecom.ammap.events
Classpublic class LegendEvent
InheritanceLegendEvent Inheritance flash.events.Event

The LegendEvent class represents events that are specific to the Legend control.



Public Properties
 PropertyDefined by
  index : int
Index of the legend item which was clicked/rolled-over/etc.
LegendEvent
  item : LegendItem
LegendItem which was clicked/rolled-over/etc.
LegendEvent
Public Methods
 MethodDefined by
  
LegendEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
LegendEvent
Public Constants
 ConstantDefined by
  CLICK_ITEM : String = "clickItem"
[static]
LegendEvent
  ROLL_OUT_ITEM : String = "rollOutItem"
[static]
LegendEvent
  ROLL_OVER_ITEM : String = "rollOverItem"
[static]
LegendEvent
Property detail
indexproperty
public var index:int

Index of the legend item which was clicked/rolled-over/etc.

itemproperty 
public var item:LegendItem

LegendItem which was clicked/rolled-over/etc.

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

Constructor

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Constant detail
CLICK_ITEMconstant
public static const CLICK_ITEM:String = "clickItem"
ROLL_OUT_ITEMconstant 
public static const ROLL_OUT_ITEM:String = "rollOutItem"
ROLL_OVER_ITEMconstant 
public static const ROLL_OVER_ITEM:String = "rollOverItem"