Class orion.EventTarget
				
				
			
				Base for creating an Orion event target
				
				
					
Defined in:  </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/EventTarget.js>.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
							
							 Creates an Event Target 
						 | 
					
| Method Attributes | Method Name and Description | 
|---|---|
| 
								 addEventListener(eventName, listener)
								 
								Adds an event listener for a named event 
							 | 
						|
| 
								 dispatchEvent(event)
								 
								Dispatches a named event along with an arbitrary set of arguments. 
							 | 
						|
| 
								 removeEventListener(eventName, listener)
								 
								Removes an event listener for a named event 
							 | 
						
					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
 
					
					{boolean}
					dispatchEvent(event)
					
					
					
						Dispatches a named event along with an arbitrary set of arguments. Any arguments after 
					
					
					
						
							eventName
will be passed to the event listener(s).
						
						
					- Parameters:
 - {Object} event
 - The event to dispatch. The event object MUST have a type field
 
- Returns:
 - {boolean} false if the event has been canceled and any associated default action should not be performed listeners (if any) have resolved.
 
					
					
					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