Class ZmDialog
Extends
DwtDialog.
This class is a base class for miscellaneous organizer-related dialogs. An instance
of this class can be re-used to show different overviews.
Defined in: ZmDialog.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a dialog.
|
Method Summary
Method Attributes |
Method Name and Description |
|
Sets the view for this dialog.
|
- Methods borrowed from class DwtDialog:
- associateEnterWithButton, getButton, getButtonEnabled, popup, 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
ZmDialog(params)
Creates a dialog.
Author: Conrad Damon.
- Parameters:
-
{Hash} params
- a hash of parameters
-
{DwtControl} params.parent
- the parent widget
-
{DwtMsgDialog} params.msgDialog
- the message dialog
-
{String} params.className
- the CSS class name
-
{String} params.title
- the dialog title
-
{Array|constant} params.standardButtons
- an array of standard buttons to include. Defaults to DwtDialog.OK_BUTTON and DwtDialog.CANCEL_BUTTON.
-
{Array} params.extraButtons
- a list of DwtDialog_ButtonDescriptor objects describing custom buttons to add to the dialog
-
{DwtControl} params.view
- the dialog contents
Method Detail
setView(newView, noReset)
Sets the view for this dialog.
- Parameters:
-
{DwtComposite} newView
- the view
-
{Boolean} noReset
- if
true , do not reset the dialog; false otherwise
|