Class Index | File Index

Classes


Class gui.EventManager-EventDelegate


Defined in: EventManager.js.

Class Summary
Constructor Attributes Constructor Name and Description
<inner>  
Ensures events that may bubble through multiple sources are only handled once.
Field Summary
Field Attributes Field Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
<inner>  
<inner>  
listenEvent(eventTarget, eventType, eventHandler)
<inner>  
removeEvent(eventTarget, eventType, eventHandler)
 
 
Class Detail
<inner> gui.EventManager-EventDelegate(eventName)
Ensures events that may bubble through multiple sources are only handled once.
Parameters:
{!string} eventName
Event this delegate is to listen for
Field Detail
filters
Method Detail
{undefined} destroy()
Returns:
{undefined}

<inner> {undefined} handleEvent(e)
Parameters:
{!Event} e
Returns:
{undefined}

<inner> {undefined} listenEvent(eventTarget, eventType, eventHandler)
Parameters:
{!Element|!Window} eventTarget
{!string} eventType
{function(!Event)|function()} eventHandler
Returns:
{undefined}

<inner> {undefined} removeEvent(eventTarget, eventType, eventHandler)
Parameters:
{!Element|!Window} eventTarget
{!string} eventType
{function(!Event)|function()} eventHandler
Returns:
{undefined}

{undefined} subscribe(cb)
Parameters:
{!Function} cb
Returns:
{undefined}

{undefined} unsubscribe(cb)
Parameters:
{!Function} cb
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:40 GMT+0200 (MESZ)