Zimlet JavaScript API Reference - ZmPrefController

Class ZmPrefController


Extends ZmController.

This class represents the preferences controller. This controller manages the options pages.

Defined in: ZmPrefController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmPrefController(container, prefsApp)
Creates a new, empty preferences controller.
Method Summary
Method Attributes Method Name and Description
 
Gets the current preferences page
 
Returns the current tool bar (the one on the left with Save/Cancel).
 
Gets the filter controller.
 
Gets the mobile devices controller.
 
Gets the preferences view (a view with tabs).
 
Gets the tab view.
 
Gets the account test dialog.
 
show()
Shows the tab options pages.
Methods borrowed from class ZmController:
getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getTabGroup, getViewElements, handleKeyAction, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType, setSessionId
Class Detail
ZmPrefController(container, prefsApp)
Creates a new, empty preferences controller.
Author: Conrad Damon.
Parameters:
{DwtShell} container
the shell
{ZmPreferencesApp} prefsApp
the preferences application
Method Detail
{ZmPreferencesPage} getCurrentPage()
Gets the current preferences page
Returns:
{ZmPreferencesPage} the current page

{ZmButtonToolbar} getCurrentToolbar()
Returns the current tool bar (the one on the left with Save/Cancel).
Returns:
{ZmButtonToolbar} the toolbar

{ZmFilterController} getFilterController(section)
Gets the filter controller.
Parameters:
section
Returns:
{ZmFilterController} the filter controller

{ZmMobileDevicesController} getMobileDevicesController()
Gets the mobile devices controller.
Returns:
{ZmMobileDevicesController} the mobile devices controller

{ZmPrefView} getPrefsView()
Gets the preferences view (a view with tabs).
Returns:
{ZmPrefView} the preferences view

{ZmPrefView} getTabView()
Gets the tab view.
Returns:
{ZmPrefView} the preferences view
See:
#getPrefsView

{ZmAccountTestDialog} getTestDialog()
Gets the account test dialog.
Returns:
{ZmAccountTestDialog} the account test dialog

show()
Shows the tab options pages.

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