nsIPrompt

Methods

alert(dialogTitle, text)

alertCheck(dialogTitle, text, checkMsg, checkValue)

confirm(dialogTitle, text)

confirmCheck(dialogTitle, text, checkMsg, checkValue)

confirmEx(dialogTitle, text, buttonFlags, button0Title, button1Title, button2Title, checkMsg, checkValue)

prompt(dialogTitle, text, value, checkMsg, checkValue)

promptPassword(dialogTitle, text, password, checkMsg, checkValue)

promptUsernameAndPassword(dialogTitle, text, username, password, checkMsg, checkValue)

select(dialogTitle, text, count, selectList, outSelection)

Constants

BUTTON_POS_0

BUTTON_POS_1

BUTTON_POS_2

BUTTON_TITLE_OK

BUTTON_TITLE_CANCEL

BUTTON_TITLE_YES

BUTTON_TITLE_NO

BUTTON_TITLE_SAVE

BUTTON_TITLE_DONT_SAVE

BUTTON_TITLE_REVERT

BUTTON_TITLE_IS_STRING

BUTTON_POS_0_DEFAULT

BUTTON_POS_1_DEFAULT

BUTTON_POS_2_DEFAULT

BUTTON_DELAY_ENABLE

STD_OK_CANCEL_BUTTONS

STD_YES_NO_BUTTONS