Class Index | Minimal

Classes


Class jabberwerx.JWApp


Extends jabberwerx.JWBase.

A top-level "Application" base class object used to simplify persistence. Applications are loaded from the store or created if no serialization exists. jabberwerx.JWApp init is only called if a new instance is created. This class divides the initialization into two sperate steps. appCreated and appInitialized, simplifying the lifetime management.

Class Summary
Constructor Attributes Constructor Name and Description
 

Creates a new jabberwerx.JWApp Subclasses should not override this method.

Method Summary
Method Attributes Method Name and Description
 

Called once on object creation.

 

Called when the application has been sucessfully created or loaded from the store.

 

jabberwerx.JWApp are persisted by default.

Methods borrowed from class jabberwerx.JWBase:
destroy, getClassName, graphUnserialized, init, invocation, shouldBeSerializedInline, toString, wasUnserialized, willBeSerialized
Class Detail
jabberwerx.JWApp()

Creates a new jabberwerx.JWApp Subclasses should not override this method. Override appCreate instead.

Method Detail
appCreate()

Called once on object creation. jabberwerx.JWApp subclasses should override this method rather than init. jabberwerx.JWBase object creation should occurr here. JWA Event handlers may be registered if using Invocations. Essentially, any objects that may be persisted should be created here.


appInitialize()

Called when the application has been sucessfully created or loaded from the store. jabberwerx.JWApp subclasses should override this method and should render and map HTML events within this method. Any sort of state that is not explicitly serialized (ie non Invocation events) should be set here.


{Boolean} shouldBeSavedWithGraph()

jabberwerx.JWApp are persisted by default.

Returns:
{Boolean} Always true

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