Class: ErrorDialog

Cadcorp.UI.ErrorDialog

new ErrorDialog(config)

Show an error dialog.
The dialog is enhanced by using the jQuery UI dialog widget
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Extends

Members

dialogOptions

Properties:
Name Type Description
dialogOptions Object Passed to the jQuery UI dialog constructor
Inherited From:

message

Properties:
Name Type Description
message string The message to display in this dialog
Inherited From:

parentElementId

Properties:
Name Type Description
parentElementId string The Id of the owner element
Inherited From:

titleText

Properties:
Name Type Description
titleText string The title text for this dialog
Inherited From:

Methods

close()

Close this dialog.
Inherited From:

destroy()

Destroys this dialog
Inherited From:

setMessage(message)

Sets the message for this dialog
Parameters:
Name Type Description
message string The message to set on this dialog
Inherited From:

setTitle(title)

Sets the title for this dialog
Parameters:
Name Type Description
title string The title to set on this dialog
Inherited From:

show()

Shows this dialog.
Inherited From: