Zimlet JavaScript API Reference - ZmCalItemComposeController

Class ZmCalItemComposeController


Extends ZmBaseController.

This class manages appointment creation/editing.

Defined in: ZmCalItemComposeController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmCalItemComposeController(container, app, type, sessionId)
Creates a new appointment controller to manage appointment creation/editing.
Method Summary
Method Attributes Method Name and Description
 
Gets the appt view.
 
Gets the toolbar.
 
saveCalItem(attId)
Saves the calendar item.
 
Toggles the spell check button.
Methods borrowed from class ZmBaseController:
getCurrentToolbar, getCurrentView, getItemCount, getItems, handleKeyAction, isCurrent, setSessionId
Methods borrowed from class ZmController:
getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getTabGroup, getViewElements, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType
Class Detail
ZmCalItemComposeController(container, app, type, sessionId)
Creates a new appointment controller to manage appointment creation/editing.
Author: Parag Shah.
Parameters:
{DwtShell} container
the containing shell
{ZmApp} app
the containing app
{constant} type
controller type
{string} sessionId
the session id
Method Detail
{ZmApptView} getItemView()
Gets the appt view.
Returns:
{ZmApptView} the appt view

{ZmButtonToolBar} getToolbar()
Gets the toolbar.
Returns:
{ZmButtonToolBar} the toolbar

saveCalItem(attId)
Saves the calendar item.
Parameters:
{String} attId
the item id

toggleSpellCheckButton(toggled)
Toggles the spell check button.
Parameters:
{Boolean} toggled
if true, select the spell check button

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