Class ZmController
Method Detail
{ZmApp}
getApp()
Gets the application.
{DwtComposite}
getCurrentViewId()
Gets the current view ID.
{constant}
getCurrentViewType(viewType)
Gets the current view type.
<static>
ZmController.getDefaultViewType()
Returns the default view type
{String}
getKeyMapName()
Gets the key map name.
{AjxCallback}
getNewFolderCallback()
Gets the new folder callback.
{string}
getSessionId()
Gets the session ID.
{Object}
getTabGroup()
Gets the tab group.
getViewElements(view, appContentView, toolbar)
return the view elements. Currently a toolbar, app content, and "new" button.
{Boolean}
handleKeyAction(actionCode, ev)
Handles the key action.
{Boolean}
isTransient(oldView, newView)
Checks if the view is transient.
{Boolean}
mapSupported(map)
Checks if shortcuts for the given map are supported for this view. For example, given the map
"tabView", a controller that creates a tab view would return
true .
popupErrorDialog(msg, ex, noExecReset, hideReportButton, expanded, noEncoding)
Pops-up the error dialog.
popupUploadErrorDialog(type, respCode, extraMsg)
Pops-up an error dialog describing an upload error.
setCurrentViewId(viewId)
Sets the current view ID.
setCurrentViewType(viewType)
Sets the current view type.
setSessionId(sessionId, type, searchResultsController)
Sets the session id, view id, and tab id (using the type and session id).
Controller for a view that shows up in a tab within the app chooser bar.
Examples include compose, send confirmation, and msg view.
<static>
ZmController.showDialog(dialog, callback, params, account)
Shows a dialog. Since the dialog is a shared resource, a dialog reset is performed.
|
||||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:37 GMT-0400 (EDT)
|