Class ZmChooseAccountDialog
Extends
ZmDialog.
This class represents choose account dialog.
Defined in: ZmChooseAccountDialog.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a dialog with a list of visible accounts to choose from
|
Method Summary
Method Attributes |
Method Name and Description |
|
popup(selectedAccount, accountType, chooserMessage, title)
Pops up this dialog
|
- Methods borrowed from class ZmDialog:
- setView
- Methods borrowed from class DwtDialog:
- associateEnterWithButton, getButton, getButtonEnabled, registerCallback, resetButtonStates, setButtonEnabled, setButtonListener, setButtonVisible, setEnterListener, unregisterCallback
- Methods borrowed from class DwtBaseDialog:
- addEnterListener, addPopdownListener, addPopupListener, cleanup, isPoppedUp, popdown, removePopdownListener, removePopupListener, reset, setContent, setTitle
- Methods borrowed from class DwtComposite:
- addChild, cleanupSeparators, clear, dispose, getChild, getChildren, getNumChildren, getTabGroupMember, removeChild, removeChildren
- Methods borrowed from class DwtControl:
- addClassName, addControlListener, addDisposeListener, addListener, appendElement, blur, clearContent, clearHandler, condClassName, delClassName, focus, getBounds, getClassName, getContent, getCursor, getData, getDragBox, getDragSource, getDropTarget, getEnabled, getFocusElement, getH, getHtmlElement, getHTMLElId, getInsetBounds, getInsets, getLocation, getMargins, getOpacity, getOuterSize, getPosition, getScrollContainer, getScrollStyle, getSize, getTooltipBase, getToolTipContent, getVisibility, getVisible, getW, getX, getXW, getY, getYH, getZIndex, hasFocus, isAlertShown, isDisposed, isInitialized, isListenerRegistered, notifyListeners, preventContextMenu, preventSelection, removeAllListeners, removeControlListener, removeDisposeListener, removeListener, reparent, reparentHtmlElement, replaceElement, setBounds, setClassName, setCursor, setData, setDisplay, setDisplayState, setDragBox, setDragSource, setDropTarget, setEnabled, setEventPropagation, setFocusElement, setHandler, setHtmlElementId, setLocation, setOpacity, setPosition, setScrollStyle, setSize, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
ZmChooseAccountDialog(parent)
Creates a dialog with a list of visible accounts to choose from
- Parameters:
-
{DwtControl} parent
- the parent, usually the global DwtShell
Method Detail
popup(selectedAccount, accountType, chooserMessage, title)
Pops up this dialog
- Parameters:
-
selectedAccount
- {ZmZimbraAccount} Optional. The account to have initially "selected". Otherwise, the active account is selected.
-
accountType
- {String} Optional. Only offer accounts of this type. Otherwise, all visible accounts are offered.
-
chooserMessage
- {String} Optional. The message to prompt user with. A default message is used if none provided.
-
title
- {String} Optional. Dialog title.
|