Class AjxCore

Object
   |
   +--AjxCore

class AjxCore

Defined in AjxCore.js


Field Summary
<static>  Object _objectIds
          
 
Constructor Summary
AjxCore ()
           
 
Method Summary
<static> Object _createListenerClosure(id)
          
<static> Object _getEventSource(eventSource)
          
<static> Object _getListenerStruct(eventSource, eventName, create)
           gets the existing struct for the eventSource, or creates a new one.
<static> Object _setupListener(eventSource, eventName, id)
           Creates a listener struct
<static> void addListener(eventSource, eventName, action)
           Adds a listener to an element, for the given event name.
<static> void addOnloadListener(action)
           Convenience method for adding onload listeners
<static> void addOnunloadListener(action)
           Convenience method for adding onunload listeners
<static> Object assignId(anObject)
          
<static> Object getListenerStruct(eventSource, eventName)
          
<static> void notifyListeners(eventSource, eventName, arg1)
           notifies listeners of the event.
<static> Object objectWithId(anId)
          
<static> void removeAllListeners(eventSource, eventName)
           removes all listeners for a given eventName, and source
<static> void removeListener(eventSource, eventName, action)
           removes a listener for a given event
<static> void setEventHandler(eventSource, eventName, action)
           sets a one time event handler for the given eventName.
<static> void unassignId(anId)
          

Field Detail

_objectIds

<static> Object _objectIds

Constructor Detail

AjxCore

AjxCore()

Method Detail

_createListenerClosure

<static> Object _createListenerClosure(id)

_getEventSource

<static> Object _getEventSource(eventSource)

_getListenerStruct

<static> Object _getListenerStruct(eventSource, eventName, create)

_setupListener

<static> Object _setupListener(eventSource, eventName, id)

addListener

<static> void addListener(eventSource, eventName, action)

addOnloadListener

<static> void addOnloadListener(action)

addOnunloadListener

<static> void addOnunloadListener(action)

assignId

<static> Object assignId(anObject)

getListenerStruct

<static> Object getListenerStruct(eventSource, eventName)

notifyListeners

<static> void notifyListeners(eventSource, eventName, arg1)

objectWithId

<static> Object objectWithId(anId)

removeAllListeners

<static> void removeAllListeners(eventSource, eventName)

removeListener

<static> void removeListener(eventSource, eventName, action)

setEventHandler

<static> void setEventHandler(eventSource, eventName, action)

unassignId

<static> void unassignId(anId)


Documentation generated by JSDoc on Thu Apr 27 13:58:39 2006