Class Index | Minimal

Classes


Class jabberwerx.EventDispatcher (MINIMAL)

Manages a collection of events for a given source.

Each event for this dispatcher is represented by a jabberwerx.EventNotifier, as a property of this dispatcher. To access a specific notifier, use the following notation:

dispatcher['on:<name>']

Where <name> is the name of the event (lower case).

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs new EventDispatcher with the given source.
Field Summary
Field Attributes Field Name and Description
 
The source of events
Method Summary
Method Attributes Method Name and Description
 
Marks this type for inline serialization.
 
Called just after to unserializing.
Class Detail
jabberwerx.EventDispatcher(src)
Constructs new EventDispatcher with the given source.
Parameters:
{Object} src
The source for events
See:
jabberwerx.JWModel#event
jabberwerx.JWModel#applyEvent
Field Detail
source
The source of events
Method Detail
{Boolean} shouldBeSavedWithGraph()
Marks this type for inline serialization.
Returns:
{Boolean} always true

wasUnserialized()
Called just after to unserializing. This method removes the global dispatcher jabberwerx.globalEvents from being a property.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 02 2014 13:23:42 GMT-0600 (MDT)