Field Summary |
| __origAddEventListener: Function |
| we can't use 'super' in a mix-in because we'd then have to mix into the object's prototype which is too dangerous instead we rename functions from the parent class and add them to the object as well.
|
|
| __sentLoadEvent |
| we don't know if the load event has already been sent when the user adds a listener for "load".
|
|
static
| _fEventDispatcher: UIEventDispatcher |
| a copy of ourselves so we can add methods to other instances
|
|
static
| keyEvents: Object |
| list of supported keyboard events
|
|
static
| loadEvents: Object |
| load and unload events
|
|
static
| lowLevelEvents: Object |
|
|
|
| owner: Object |
| a pointer to the target object used when we get called in a different scope
|
|
|
|
Method Summary |
| __addEventListener (
event: String, handler
): Void |
| internal hook of FEventDispatcher.addEventListener
|
|
static
| addKeyEvents (
obj: Object
): Void |
| internal function that adds keyboard listeners to a UIObject so the listener can get events
|
|
static
| addLoadEvents (
obj: Object
): Void |
| internal function that adds load/unload listeners to a UIObject so the listener can get events
|
|
| dispatchEvent (
eventObj: Object
): Void |
| dispatch the event to all listeners
|
|
static
| initialize (
obj: Object
): Void |
| add listening and dispatching methods to an object
|
|
| onKeyDown (
Void
): Void |
| internal hook for keyboard events
|
|
| onKeyUp (
Void
): Void |
| internal hook for keyboard events
|
|
| onLoad (
Void
): Void |
| internal hook for load events
|
|
| onUnload (
Void
): Void |
| internal hook for load events
|
|
| removeEventListener (
event: String, handler
): Void |
| override of FEventDispatcher.removeEventListener
|
|
static
| removeKeyEvents (
obj: Object
): Void |
| internal function that removes keyboard listeners from a UIObject
|
|
static
| removeLoadEvents (
obj: Object
): Void |
| internal function that removes load/unload listeners from a UIObject
|
|
|
|
|