Class Index | File Index

Classes


Class orion.serviceregistry.EventTarget

Base for creating an Orion event target
Defined in: </shared/eclipse/e4/orion/I201207231242/plugins/org.eclipse.orion.client.core/web/orion/serviceregistry.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates an Event Target
Method Summary
Method Attributes Method Name and Description
 
addEventListener(eventName, listener)
Adds an event listener for a named event
 
dispatchEvent(eventName)
Dispatches a named event along with an arbitrary set of arguments.
 
removeEventListener(eventName, listener)
Removes an event listener for a named event
Class Detail
orion.serviceregistry.EventTarget()
Creates an Event Target
Method Detail
addEventListener(eventName, listener)
Adds an event listener for a named event
Parameters:
{String} eventName
The event name
{Function} listener
The function called when an event occurs

dispatchEvent(eventName)
Dispatches a named event along with an arbitrary set of arguments. Any arguments after eventName will be passed to the event listener(s).
Parameters:
{String} eventName
The event name

removeEventListener(eventName, listener)
Removes an event listener for a named event
Parameters:
{String} eventName
The event name
{Function} listener
The function called when an event occurs

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 23 2012 12:45:32 GMT-0400 (EDT)