Class ecm.widget.dialog.YesNoCancelDialog
Extends
ecm.widget.dialog.BaseDialog.
Provides a dialog box that displays a question and and the buttons Yes, No,
and Cancel.
For example, this dialog is commonly displayed when a user closes a document that contains changes. In this situation, the user is asked whether the changes are to be saved. The buttons perform the following actions:
- Yes: The changes are saved and the document is closed.
- No: The changes are discarded and the document is closed.
- Cancel: The document is left open for the user to continue editing.
Defined in: <ecm\widget\dialog\YesNoCancelDialog.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
- Fields borrowed from class ecm.widget.dialog.BaseDialog:
- fitContentArea, lockFullscreen
Method Summary
Method Attributes | Method Name and Description |
---|---|
- Methods borrowed from class ecm.widget.dialog.BaseDialog:
- addButton, appendSecondaryMessage, buildRendering, clearMessage, clearSecondaryMessage, destroy, hide, isMaximized, onDragOver, resize, setIntroText, setIntroTextRef, setMaximized, setMessage, setReferenceLink, setResizable, setSize, setSizeToViewportRatio, setTitle, setWidth, show, showActionBar