public class ConfirmDialog extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_OPTION |
static int |
OK_CANCEL_OPTION
Type used for
showConfirmDialog . |
static int |
YES_NO_CANCEL_OPTION
Type used for
showConfirmDialog . |
static int |
YES_NO_OPTION
Type used for
showConfirmDialog . |
Constructor and Description |
---|
ConfirmDialog() |
Modifier and Type | Method and Description |
---|---|
static boolean |
confirm(java.lang.String message) |
static boolean |
confirm(java.lang.String title,
java.lang.String message) |
static boolean |
confirm(java.lang.String title,
java.lang.String message,
int optionType) |
static boolean |
getBooleanReturnValue(int returnValue) |
public static final int DEFAULT_OPTION
public static final int YES_NO_OPTION
showConfirmDialog
.public static final int YES_NO_CANCEL_OPTION
showConfirmDialog
.public static final int OK_CANCEL_OPTION
showConfirmDialog
.public ConfirmDialog()
public static boolean getBooleanReturnValue(int returnValue)
public static boolean confirm(java.lang.String title, java.lang.String message, int optionType)
public static boolean confirm(java.lang.String message)
public static boolean confirm(java.lang.String title, java.lang.String message)