Class ZmAttachDialog
Extends
DwtDialog.
This class represents an attachment dialog.
Defined in: ZmAttachDialog.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates an attachment dialog.
|
Field Summary
Field Attributes |
Field Name and Description |
<static> |
Defines the "briefcase" tab key.
|
Method Summary
Method Attributes |
Method Name and Description |
|
Adds a cancel button listener.
|
|
Sets the footer content.
|
|
Adds a OK button listener.
|
|
Uploads the attachments.
|
- 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
ZmAttachDialog(shell, className)
Creates an attachment dialog.
- Parameters:
-
{DwtControl} shell
- the parent
-
{String} className
- the class name
Field Detail
<static>
ZmAttachDialog.TABKEY_BRIEFCASE
Defines the "briefcase" tab key.
Method Detail
setCancelListener(tabKey, cancelCallbackOrListener)
Adds a cancel button listener.
- Parameters:
-
{constant} tabKey
- the tab key (see
TABKEY_ constants)
-
{AjxListener|AjxCallback} cancelCallbackOrListener
- the listener
setFooter(html)
Sets the footer content.
- Parameters:
-
{String} html
- the HTML footer content
setOkListener(tabKey, cancelCallbackOrListener)
Adds a OK button listener.
- Parameters:
-
{constant} tabKey
- the tab key (see
TABKEY_ constants)
-
{AjxListener|AjxCallback} cancelCallbackOrListener
- the listener
upload(callback, uploadForm)
Uploads the attachments.
- Parameters:
-
{AjxCallback} callback
- the callback
-
{Object} uploadForm
- the upload form
|