public class MessageBox
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ABORTRETRYIGNORE
Makes the message box display the Abort, Retry, and Ignore buttons.
|
static int |
DEFBUTTON1 |
static int |
DEFBUTTON2 |
static int |
DEFBUTTON3 |
static int |
ICONASTERISK
Makes the message box display an asterisk icon.
|
static int |
ICONERROR
Makes the message box display the error icon.
|
static int |
ICONEXCLAMATION
Makes the message box display the exclamation icon.
|
static int |
ICONHAND
Indicates that a hand icon should be displayed on the message box.
|
static int |
ICONINFORMATION
Makes the message box display the information icon.
|
static int |
ICONQUESTION
Makes the message box display the question mark.
|
static int |
ICONSTOP
Makes the message box display the stop icon.
|
static int |
ICONWARNING
Makes the message box display the warning icon.
|
static int |
IDABORT |
static int |
IDCANCEL |
static int |
IDCLOSE |
static int |
IDHELP |
static int |
IDIGNORE |
static int |
IDNO |
static int |
IDOK |
static int |
IDRETRY |
static int |
IDYES |
static int |
OK
Makes the message box display the OK button.
|
static int |
OKCANCEL
Makes the message box display the OK and Cancel buttons.
|
static int |
RETRYCANCEL
Makes the message box display the Retry and Cancel buttons.
|
static int |
YESNO
Makes the message box display the Yes and No buttons.
|
static int |
YESNOCANCEL
Makes the message box display the Yes, No, and Cancel buttons.
|
Constructor and Description |
---|
MessageBox() |
Modifier and Type | Method and Description |
---|---|
static void |
show(java.lang.String title,
java.lang.String message) |
static int |
show(java.lang.String title,
java.lang.String message,
int flags) |
static int |
show(Wnd hWnd,
java.lang.String title,
java.lang.String message,
int flags) |
public static final int OK
public static final int OKCANCEL
public static final int ABORTRETRYIGNORE
public static final int YESNOCANCEL
public static final int YESNO
public static final int RETRYCANCEL
public static final int ICONHAND
public static final int ICONQUESTION
public static final int ICONEXCLAMATION
public static final int ICONASTERISK
public static final int ICONSTOP
public static final int ICONERROR
public static final int ICONWARNING
public static final int ICONINFORMATION
public static final int DEFBUTTON1
public static final int DEFBUTTON2
public static final int DEFBUTTON3
public static final int IDOK
public static final int IDCANCEL
public static final int IDABORT
public static final int IDRETRY
public static final int IDIGNORE
public static final int IDYES
public static final int IDNO
public static final int IDCLOSE
public static final int IDHELP
public static int show(Wnd hWnd, java.lang.String title, java.lang.String message, int flags)
public static int show(java.lang.String title, java.lang.String message, int flags)
public static void show(java.lang.String title, java.lang.String message)