Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
MouseEventConverter

Package | org.apache.flex.events.utils
Class | public class MouseEventConverter
Inheritance | MouseEventConverter Object

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Mouse events conversion.

Public Properties

| Property | Defined By
--- | --- | ---
|  | allConvertedEvents : Array [static] The list of events to convert. | MouseEventConverter
|  | convert : Function [static] A method used to copy properties from flash.events.MouseEvent to org.apache.flex.events.Event. | MouseEventConverter
|  | eventHandler : Function [static] The event handler that converts the events. | MouseEventConverter
|  | perInstanceConvertedEvents : Array [static] The list of events to convert on each instance. | MouseEventConverter

Public Methods

| Method | Defined By
--- | --- | ---
|  | setupAllConverters(target:IEventDispatcher):void [static] Set up the top level converter. | MouseEventConverter
|  | setupInstanceConverters(target:IEventDispatcher):void [static] Set up some event handlers on each instance. | MouseEventConverter

Public Constants

| Constant | Defined By
--- | --- | ---
|  | UNCONVERTED_EVENTS : Object [static] A map of events that are not converted, because there is no JS equivalent. | MouseEventConverter

Property Detail

allConvertedEvents | property

`public static var allConvertedEvents:Array`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The list of events to convert.

convert | property |

`public static var convert:Function`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

A method used to copy properties from flash.events.MouseEvent to org.apache.flex.events.Event. The set of properties can be different based on platform and runtime.

eventHandler | property |

`public static var eventHandler:Function`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The event handler that converts the events.

perInstanceConvertedEvents | property |

`public static var perInstanceConvertedEvents:Array`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The list of events to convert on each instance. Per-instance killers are needed for "out" events because they can be sent after the instance is removed from the display list so the main converter can't intercept them

Method Detail

setupAllConverters | () | method

`public static function setupAllConverters(target:IEventDispatcher):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Set up the top level converter.

Parameters

| `target:IEventDispatcher`

setupInstanceConverters | () | method |

`public static function setupInstanceConverters(target:IEventDispatcher):void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Set up some event handlers on each instance.

Parameters

| `target:IEventDispatcher`

Constant Detail

UNCONVERTED_EVENTS | Constant

`public static const UNCONVERTED_EVENTS:Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

A map of events that are not converted, because there is no JS equivalent.

Mon Sep 5 2016, 07:19 AM -07:00