Public Member Functions | |
void | addParameter (in nsISupports param) |
Add parameter to the dialog. | |
void | create (in tmozIFrame frame, in AString dlgBarId) |
Create dialog bar. | |
void | destroy () |
Destroy dialog bar. | |
Public Attributes | |
attribute AString | dialogUrl |
Dialog URL. | |
readonly attribute boolean | opened |
Flag if dialog opened. |
Class represents XUL based dialog-bar. Dialog bar is initialy empty and have to be initialized calling method create()
void addParameter | ( | in nsISupports | param | ) |
Add parameter to the dialog.
Add one or more parameteres to the dialog. Method can be called several times to add more parameters. These parameters can be used in the method onLoad.
param | Parameter |
void create | ( | in tmozIFrame | frame, | |
in AString | dlgBarId | |||
) |
Create dialog bar.
Function will create new dialog bar.
frame | Parent frame | |
dlgBarId | ID of new dialog bar |
void destroy | ( | ) |
Destroy dialog bar.
Function will destroy active dialog bar
attribute AString dialogUrl |
Dialog URL.
Dialog URL have to be set before activation. Example: 'chrome://tahiti/content/aboutDialog.xul'
readonly attribute boolean opened |
Flag if dialog opened.
Flag is true if dialog is opened. Flag is false if dialog is closed.