dojox/app/ViewBase (version 1.10)

Summary

View base class with model & controller capabilities. Subclass must implement rendering capabilities.

Usage

var foo = new ViewBase(params);
dojox/app/ViewBase
Parameter Type Description
params undefined

view parameters, include:

  • app: the app
  • id: view id
  • name: view name
  • parent: parent view
  • controller: view controller module identifier
  • children: children views

See the dojox/app/ViewBase reference documentation for more information.

Method Summary

Methods

_createDataStore()
Defined by dojox/app/ViewBase

Create data store instance for View specific stores

_initViewHidden()
Defined by dojox/app/ViewBase
_loadViewController()
Defined by dojox/app/ViewBase

Load view controller by configuration or by default.

Returns:instance
_setupModel()
Defined by dojox/app/ViewBase

Load views model if it is not already loaded then call _startup.

_startLayout()
Defined by dojox/app/ViewBase

startup widgets in view template.

_startup()
Defined by dojox/app/ViewBase

startup widgets in view template.

afterActivate()
Defined by dojox/app/ViewBase

view life cycle afterActivate()

afterDeactivate()
Defined by dojox/app/ViewBase

view life cycle afterDeactivate()

beforeActivate()
Defined by dojox/app/ViewBase

view life cycle beforeActivate()

beforeDeactivate()
Defined by dojox/app/ViewBase

view life cycle beforeDeactivate()

destroy()
Defined by dojox/app/ViewBase

view life cycle destroy()

init()
Defined by dojox/app/ViewBase

view life cycle init()

load()
Defined by dojox/app/ViewBase
Returns:undefined
start()
Defined by dojox/app/ViewBase

start view object. load view template, view controller implement and startup all widgets in view template.

Returns:function | instance

start view object. load view template, view controller implement and startup all widgets in view template.

Error in the documentation? Can’t find what you are looking for? Let us know!