Packagemx.charts.events
Classpublic class LegendMouseEvent
InheritanceLegendMouseEvent Inheritance flash.events.MouseEvent

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The LegendMouseEvent class represents event objects that are specific to the chart legend components. such as when a legend item is clicked on.



Public Properties
 PropertyDefined By
  item : LegendItem
The item in the Legend on which this event was triggered.
LegendMouseEvent
Public Methods
 MethodDefined By
  
LegendMouseEvent(type:String, triggerEvent:MouseEvent = null, item:LegendItem = null)
Constructor.
LegendMouseEvent
Public Constants
 ConstantDefined By
  ITEM_CLICK : String = itemClick
[static] Event type constant; indicates that the user clicked the mouse button over a legend item.
LegendMouseEvent
  ITEM_MOUSE_DOWN : String = itemMouseDown
[static] Event type constant; indicates that the user clicked the mouse button over a legend item.
LegendMouseEvent
  ITEM_MOUSE_OUT : String = itemMouseOut
[static] Event type constant; indicates that the user rolled the mouse pointer away from a legend item.
LegendMouseEvent
  ITEM_MOUSE_OVER : String = itemMouseOver
[static] Event type constant; indicates that the user rolled the mouse pointer over a legend item.
LegendMouseEvent
  ITEM_MOUSE_UP : String = itemMouseUp
[static] Event type constant; indicates that the user released the mouse button while over a legend item.
LegendMouseEvent
Property Detail
itemproperty
public var item:LegendItem

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The item in the Legend on which this event was triggered.

Constructor Detail
LegendMouseEvent()Constructor
public function LegendMouseEvent(type:String, triggerEvent:MouseEvent = null, item:LegendItem = null)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Parameters
type:String — The type of Mouse event. If a mouse event type is given it would be converted into a LegendMouseEvent type.
 
triggerEvent:MouseEvent (default = null) — The MouseEvent that triggered this LegentMouseEvent.
 
item:LegendItem (default = null) — The item in the Legend on which this event was triggered.
Constant Detail
ITEM_CLICKConstant
public static const ITEM_CLICK:String = itemClick

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Event type constant; indicates that the user clicked the mouse button over a legend item.

ITEM_MOUSE_DOWNConstant 
public static const ITEM_MOUSE_DOWN:String = itemMouseDown

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Event type constant; indicates that the user clicked the mouse button over a legend item.

ITEM_MOUSE_OUTConstant 
public static const ITEM_MOUSE_OUT:String = itemMouseOut

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Event type constant; indicates that the user rolled the mouse pointer away from a legend item.

ITEM_MOUSE_OVERConstant 
public static const ITEM_MOUSE_OVER:String = itemMouseOver

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Event type constant; indicates that the user rolled the mouse pointer over a legend item.

ITEM_MOUSE_UPConstant 
public static const ITEM_MOUSE_UP:String = itemMouseUp

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Event type constant; indicates that the user released the mouse button while over a legend item.