Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
LegendMouseEvent

Package | mx.charts.events
Class | public class LegendMouseEvent
Inheritance | LegendMouseEvent 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

| Property | Defined By
--- | --- | ---
|  | item : LegendItem The item in the Legend on which this event was triggered. | LegendMouseEvent

Public Methods

| Method | Defined By
--- | --- | ---
|  | LegendMouseEvent(type:String, triggerEvent:MouseEvent = null, item:LegendItem = null) Constructor. | LegendMouseEvent

Public Constants

| Constant | Defined 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

item | property

`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_CLICK | Constant

`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_DOWN | Constant |

`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_OUT | Constant |

`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_OVER | Constant |

`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_UP | Constant |

`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.

Wed Nov 15 2017, 09:50 AM +01:00