dojox/mobile/app/SceneAssistant.js

  • Provides:

    • dojox.mobile.app.SceneAssistant
  • dojox.mobile.app.SceneAssistant

    • type
      Function
    • summary
      The base class for all scene assistants.
    • source: [view]
  • dojox.mobile.app.SceneAssistant.setup

    • type
      Function
    • source: [view]
        // summary:
        // Called to set up the widget. The UI is not visible at this time
    • summary
      Called to set up the widget.  The UI is not visible at this time
  • dojox.mobile.app.SceneAssistant.activate

    • type
      Function
    • parameters:
      • params: (typeof Optional)
        paramters, only passed when a subsequent scene pops itself
        off the stack and passes back data.
    • source: [view]
        // summary:
        // Called each time the scene becomes visible. This can be as a result
        // of a new scene being created, or a subsequent scene being destroyed
        // and control transferring back to this scene assistant.
        // params:
        // Optional paramters, only passed when a subsequent scene pops itself
        // off the stack and passes back data.
    • summary
      Called each time the scene becomes visible.  This can be as a result
      of a new scene being created, or a subsequent scene being destroyed
      and control transferring back to this scene assistant.
  • dojox.mobile.app.SceneAssistant.deactivate

    • type
      Function
    • source: [view]
        // summary:
        // Called each time the scene becomes invisible. This can be as a result
        // of it being popped off the stack and destroyed,
        // or another scene being created and pushed on top of it on the stack
    • summary
      Called each time the scene becomes invisible.  This can be as a result
      of it being popped off the stack and destroyed,
      or another scene being created and pushed on top of it on the stack
  • dojox.mobile.app.SceneAssistant.destroy

    • type
      Function
    • source: [view]
        var children =
         dojo.query("> [widgetId]", this.containerNode).map(dijit.byNode);
        dojo.forEach(children, function(child){ child.destroyRecursive(); });

       
        this.disconnect();
    • summary
  • dojox.mobile.app.SceneAssistant.connect

    • type
      Function
    • parameters:
      • obj: (typeof )
      • method: (typeof )
      • callback: (typeof )
    • source: [view]
        if(!this._connects){
         this._connects = [];
        }
        this._connects.push(dojo.connect(obj, method, callback));
    • summary
  • dojox.mobile.app.SceneAssistant.disconnect

    • type
      Function
    • source: [view]
        dojo.forEach(this._connects, dojo.disconnect);
        this._connects = [];
    • summary
  • dojox.mobile.app.SceneAssistant._connects

    • summary
  • dojox.mobile.app

    • type
      Object
    • summary
  • dojox.mobile

    • type
      Object
    • summary
  • dojox

    • type
      Object
    • summary