Zimlet JavaScript API Reference - ZmQuickAddDialog

Class ZmQuickAddDialog


Extends DwtDialog.

This class represents a modal dialog which has at least a title and the standard buttons (OK/Cancel) and widgets (i.e. buttons, etc) as necessary.

Defined in: ZmQuickAddDialog.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmQuickAddDialog(parent, title, standardButtons, extraButtons, loc)
Creates a generic quick add dialog (which basically mean it has different than regular dialogs).
Method Summary
Method Attributes Method Name and Description
 
addSelectionListener(buttonId, listener)
Adds a selection listener.
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, setView
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
ZmQuickAddDialog(parent, title, standardButtons, extraButtons, loc)
Creates a generic quick add dialog (which basically mean it has different than regular dialogs). Dialogs always hang off the main shell since their stacking order is managed through z-index. See "dwt.Widgets#DwtSemiModalDialog" template.
Author: Parag Shah.
Parameters:
{DwtComposite} parent
the parent widget (the shell)
{String} title
a title for the dialog
{Array} standardButtons
a list of standard button IDs (default is [DwtDialog.OK_BUTTON, DwtDialog.CANCEL_BUTTON])
{Array} extraButtons
any extra buttons to be added in addition to the standard ones
{Object} loc
where to popup (optional)
Method Detail
addSelectionListener(buttonId, listener)
Adds a selection listener.
Parameters:
{String} buttonId
the button id
{AjxListener} listener
the listener

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