Class mx.events.UIEventDispatcher

mx.events.EventDispatcher
   +--mx.events.UIEventDispatcher

Description

event listening and dispatching for UIObjects.

Field Index

__origAddEventListener, __sentLoadEvent, _fEventDispatcher, keyEvents, loadEvents, lowLevelEvents, owner
Inherited from EventDispatcher
_fEventDispatcher, exceptions

Method Index

__addEventListener(), addKeyEvents(), addLoadEvents(), dispatchEvent(), initialize(), onKeyDown(), onKeyUp(), onLoad(), onUnload(), removeEventListener(), removeKeyEvents(), removeLoadEvents()
Inherited from EventDispatcher
_removeEventListener(), addEventListener(), dispatchQueue()

Field Detail

keyEvents

static keyEvents:Object

loadEvents

static loadEvents:Object

__origAddEventListener

__origAddEventListener:Function

owner

owner:Object

__sentLoadEvent

__sentLoadEvent

lowLevelEvents

static lowLevelEvents:Object

_fEventDispatcher

static _fEventDispatcher:UIEventDispatcher

Method Detail

addKeyEvents

static function addKeyEvents(obj:
Object):Void

removeKeyEvents

static function removeKeyEvents(obj:
Object):Void

addLoadEvents

static function addLoadEvents(obj:
Object):Void

removeLoadEvents

static function removeLoadEvents(obj:
Object):Void

initialize

static function initialize(obj:
Object):Void
add listening and dispatching methods to an object
Parameters

dispatchEvent

function dispatchEvent(eventObj:
Object):Void
dispatch the event to all listeners
Parameters
eventObj an Event or one of its subclasses describing the event

onKeyDown

function onKeyDown(Void):Void

onKeyUp

function onKeyUp(Void):Void

onLoad

function onLoad(Void):Void

onUnload

function onUnload(Void):Void

__addEventListener

function __addEventListener(event:
String, handler):Void

removeEventListener

function removeEventListener(event:
String, handler):Void