Zimlet JavaScript API Reference - ZmZimletAppController

Class ZmZimletAppController


Extends ZmController.

This class represents a zimlet application controller.

Defined in: ZmZimletAppController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmZimletAppController(name, container, app)
Creates a zimlet app controller.
Method Summary
Method Attributes Method Name and Description
 
Gets the toolbar.
 
Gets the view.
 
show()
Shows the controller.
Methods borrowed from class ZmController:
getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getTabGroup, getViewElements, handleKeyAction, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType, setSessionId
Class Detail
ZmZimletAppController(name, container, app)
Creates a zimlet app controller.
Parameters:
{String} name
the application name
{DwtShell} container
the container
{ZmApp} app
the app
Method Detail
{ZmToolBar} getToolbar()
Gets the toolbar.
Returns:
{ZmToolBar} the tool bar

{ZmZimletAppView} getView()
Gets the view.
Returns:
{ZmZimletAppView} the view

show()
Shows the controller.
Returns:
boolean true if previous view was not dirty and hence could swap it with new view; else false

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:37 GMT-0400 (EDT)