org.eclipse.swt.internal.mozilla
Class nsIPromptService

java.lang.Object
  extended by org.eclipse.swt.internal.mozilla.nsISupports
      extended by org.eclipse.swt.internal.mozilla.nsIPromptService
Direct Known Subclasses:
nsIPromptService2

public class nsIPromptService
extends nsISupports


Field Summary
static int BUTTON_DELAY_ENABLE
           
static int BUTTON_POS_0
           
static int BUTTON_POS_0_DEFAULT
           
static int BUTTON_POS_1
           
static int BUTTON_POS_1_DEFAULT
           
static int BUTTON_POS_2
           
static int BUTTON_POS_2_DEFAULT
           
static int BUTTON_TITLE_CANCEL
           
static int BUTTON_TITLE_DONT_SAVE
           
static int BUTTON_TITLE_IS_STRING
           
static int BUTTON_TITLE_NO
           
static int BUTTON_TITLE_OK
           
static int BUTTON_TITLE_REVERT
           
static int BUTTON_TITLE_SAVE
           
static int BUTTON_TITLE_YES
           
static nsID NS_IPROMPTSERVICE_IID
           
static java.lang.String NS_IPROMPTSERVICE_IID_STR
           
static int STD_OK_CANCEL_BUTTONS
           
static int STD_YES_NO_BUTTONS
           
 
Fields inherited from class org.eclipse.swt.internal.mozilla.nsISupports
NS_ISUPPORTS_IID, NS_ISUPPORTS_IID_STR
 
Constructor Summary
nsIPromptService(long address)
           
 
Method Summary
 int Alert(long aParent, char[] aDialogTitle, char[] aText)
           
 int AlertCheck(long aParent, char[] aDialogTitle, char[] aText, char[] aCheckMsg, int[] aCheckState)
           
 int Confirm(long aParent, char[] aDialogTitle, char[] aText, int[] _retval)
           
 int ConfirmCheck(long aParent, char[] aDialogTitle, char[] aText, char[] aCheckMsg, int[] aCheckState, int[] _retval)
           
 int ConfirmEx(long aParent, char[] aDialogTitle, char[] aText, int aButtonFlags, char[] aButton0Title, char[] aButton1Title, char[] aButton2Title, char[] aCheckMsg, int[] aCheckState, int[] _retval)
           
 int Prompt(long aParent, char[] aDialogTitle, char[] aText, long[] aValue, char[] aCheckMsg, int[] aCheckState, int[] _retval)
           
 int PromptPassword(long aParent, char[] aDialogTitle, char[] aText, long[] aPassword, char[] aCheckMsg, int[] aCheckState, int[] _retval)
           
 int PromptUsernameAndPassword(long aParent, char[] aDialogTitle, char[] aText, long[] aUsername, long[] aPassword, char[] aCheckMsg, int[] aCheckState, int[] _retval)
           
 int Select(long aParent, char[] aDialogTitle, char[] aText, int aCount, long[] aSelectList, int[] aOutSelection, int[] _retval)
           
 
Methods inherited from class org.eclipse.swt.internal.mozilla.nsISupports
AddRef, getAddress, QueryInterface, Release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS_IPROMPTSERVICE_IID_STR

public static final java.lang.String NS_IPROMPTSERVICE_IID_STR
See Also:
Constant Field Values

NS_IPROMPTSERVICE_IID

public static final nsID NS_IPROMPTSERVICE_IID

BUTTON_POS_0

public static final int BUTTON_POS_0
See Also:
Constant Field Values

BUTTON_POS_1

public static final int BUTTON_POS_1
See Also:
Constant Field Values

BUTTON_POS_2

public static final int BUTTON_POS_2
See Also:
Constant Field Values

BUTTON_TITLE_OK

public static final int BUTTON_TITLE_OK
See Also:
Constant Field Values

BUTTON_TITLE_CANCEL

public static final int BUTTON_TITLE_CANCEL
See Also:
Constant Field Values

BUTTON_TITLE_YES

public static final int BUTTON_TITLE_YES
See Also:
Constant Field Values

BUTTON_TITLE_NO

public static final int BUTTON_TITLE_NO
See Also:
Constant Field Values

BUTTON_TITLE_SAVE

public static final int BUTTON_TITLE_SAVE
See Also:
Constant Field Values

BUTTON_TITLE_DONT_SAVE

public static final int BUTTON_TITLE_DONT_SAVE
See Also:
Constant Field Values

BUTTON_TITLE_REVERT

public static final int BUTTON_TITLE_REVERT
See Also:
Constant Field Values

BUTTON_TITLE_IS_STRING

public static final int BUTTON_TITLE_IS_STRING
See Also:
Constant Field Values

BUTTON_POS_0_DEFAULT

public static final int BUTTON_POS_0_DEFAULT
See Also:
Constant Field Values

BUTTON_POS_1_DEFAULT

public static final int BUTTON_POS_1_DEFAULT
See Also:
Constant Field Values

BUTTON_POS_2_DEFAULT

public static final int BUTTON_POS_2_DEFAULT
See Also:
Constant Field Values

BUTTON_DELAY_ENABLE

public static final int BUTTON_DELAY_ENABLE
See Also:
Constant Field Values

STD_OK_CANCEL_BUTTONS

public static final int STD_OK_CANCEL_BUTTONS
See Also:
Constant Field Values

STD_YES_NO_BUTTONS

public static final int STD_YES_NO_BUTTONS
See Also:
Constant Field Values
Constructor Detail

nsIPromptService

public nsIPromptService(long address)
Method Detail

Alert

public int Alert(long aParent,
                 char[] aDialogTitle,
                 char[] aText)

AlertCheck

public int AlertCheck(long aParent,
                      char[] aDialogTitle,
                      char[] aText,
                      char[] aCheckMsg,
                      int[] aCheckState)

Confirm

public int Confirm(long aParent,
                   char[] aDialogTitle,
                   char[] aText,
                   int[] _retval)

ConfirmCheck

public int ConfirmCheck(long aParent,
                        char[] aDialogTitle,
                        char[] aText,
                        char[] aCheckMsg,
                        int[] aCheckState,
                        int[] _retval)

ConfirmEx

public int ConfirmEx(long aParent,
                     char[] aDialogTitle,
                     char[] aText,
                     int aButtonFlags,
                     char[] aButton0Title,
                     char[] aButton1Title,
                     char[] aButton2Title,
                     char[] aCheckMsg,
                     int[] aCheckState,
                     int[] _retval)

Prompt

public int Prompt(long aParent,
                  char[] aDialogTitle,
                  char[] aText,
                  long[] aValue,
                  char[] aCheckMsg,
                  int[] aCheckState,
                  int[] _retval)

PromptUsernameAndPassword

public int PromptUsernameAndPassword(long aParent,
                                     char[] aDialogTitle,
                                     char[] aText,
                                     long[] aUsername,
                                     long[] aPassword,
                                     char[] aCheckMsg,
                                     int[] aCheckState,
                                     int[] _retval)

PromptPassword

public int PromptPassword(long aParent,
                          char[] aDialogTitle,
                          char[] aText,
                          long[] aPassword,
                          char[] aCheckMsg,
                          int[] aCheckState,
                          int[] _retval)

Select

public int Select(long aParent,
                  char[] aDialogTitle,
                  char[] aText,
                  int aCount,
                  long[] aSelectList,
                  int[] aOutSelection,
                  int[] _retval)