Zimlet JavaScript API Reference - ZmPreferencesApp

Class ZmPreferencesApp


Extends ZmApp.

This class represents the application for the preferences UI. This is where the preferences hook into the overall application.

Defined in: ZmPreferencesApp.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmPreferencesApp(container, parentController)
Creates the preferences application.
Method Summary
Method Attributes Method Name and Description
 
Gets the filter controller.
 
getFilterRules(accountName)
Gets the filter rules.
 
Gets the outgoing filter rules.
 
Gets the preferences controller.
Methods borrowed from class ZmApp:
activate, addDeferredFolder, createView, deleteSessionController, disposeTreeControllers, getDisplayName, getInitialSearchType, getLimit, getName, getNumSessionControllers, getOverview, getOverviewContainer, getOverviewId, getOverviewPanelContent, getRemoteFolderIds, getSearchParams, getSessionController, getTypeFromController, isActive, launch, popView, pushView, reset, resetOverview, resetWebClientOfflineOperations, setAppView, setOverviewPanelContent, setView, stageView, startAlert, stopAlert, toString
Class Detail
ZmPreferencesApp(container, parentController)
Creates the preferences application.
Parameters:
{DwtControl} container
the control that contains components
{ZmController} parentController
the parent window controller (set by the child window)
Method Detail
{ZmFilterController} getFilterController()
Gets the filter controller.
Returns:
{ZmFilterController} the controller

{ZmFilterRules} getFilterRules(accountName)
Gets the filter rules.
Parameters:
{String} accountName Optional
the account name or null to use the active account
Returns:
{ZmFilterRules} the filter rules

{ZmFilterRules} getOutgoingFilterRules(accountName)
Gets the outgoing filter rules.
Parameters:
{String} accountName Optional
the account name or null to use the active account
Returns:
{ZmFilterRules} the filter rules

{ZmPrefController} getPrefController()
Gets the preferences controller.
Returns:
{ZmPrefController} the controller

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