WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@mozilla.org/embedcomp/prompt-service;1
This component implements the following interfaces:
Constants
Methods
| Interface | Method |
|---|---|
| nsIPromptService |
void alert ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text )
|
| nsIPromptService |
void alertCheck ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text , PRUnichar* checkMsg , inout PRBool checkState )
|
| nsIPromptService |
PRBool confirm ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text )
|
| nsIPromptService |
PRBool confirmCheck ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text , PRUnichar* checkMsg , inout PRBool checkState )
|
| nsIPromptService |
PRInt32 confirmEx ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text , PRUint32 buttonFlags , PRUnichar* button0Title , PRUnichar* button1Title , PRUnichar* button2Title , PRUnichar* checkMsg , inout PRBool checkState )
|
| nsIPromptService |
PRBool prompt ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text , inout PRUnichar* value , PRUnichar* checkMsg , inout PRBool checkState )
|
| nsIPromptService |
PRBool promptPassword ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text , inout PRUnichar* password , PRUnichar* checkMsg , inout PRBool checkState )
|
| nsIPromptService |
PRBool promptUsernameAndPassword ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text , inout PRUnichar* username , inout PRUnichar* password , PRUnichar* checkMsg , inout PRBool checkState )
|
| nsIPromptService |
PRBool select ( nsIDOMWindow parent , PRUnichar* dialogTitle , PRUnichar* text , PRUint32 count , arrayof PRUnichar* selectList , out PRInt32 outSelection )
|
Reference documentation is generated from Mozilla's source.
