Class ZmPromptDialog
Extends
ZmDialog.
This class represents a prompt dialog.
Defined in: ZmPromptDialog.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a prompt dialog.
|
Method Summary
Method Attributes |
Method Name and Description |
<static> |
Gets an instance of the prompt dialog.
|
<static> |
Gets an instance of the prompt dialog.
|
|
Pops-up the 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
Method Detail
Gets an instance of the prompt dialog.
- Returns:
- {ZmPromptDialog} the dialog
Gets an instance of the prompt dialog.
- Returns:
- {ZmPromptDialog} the dialog
popup(params)
Pops-up the dialog.
- Parameters:
-
{Hash} params
- a hash of parameters
-
{String} params.title
- the dialog box title
-
{String} params.label
- the label next to the dialog's input field
-
{String} params.value
- the initial value of input field
-
{AjxCallback} params.callback
- the callback to run when ok button is pressed
|