public static enum GGMessageBox.ButtonHit extends java.lang.Enum<GGMessageBox.ButtonHit>
Enum Constant and Description |
---|
MB_ABORT |
MB_CANCEL |
MB_IGNORE |
MB_NO |
MB_OK |
MB_RETRY |
MB_YES |
Modifier and Type | Method and Description |
---|---|
static GGMessageBox.ButtonHit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GGMessageBox.ButtonHit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GGMessageBox.ButtonHit MB_OK
public static final GGMessageBox.ButtonHit MB_NO
public static final GGMessageBox.ButtonHit MB_YES
public static final GGMessageBox.ButtonHit MB_ABORT
public static final GGMessageBox.ButtonHit MB_RETRY
public static final GGMessageBox.ButtonHit MB_IGNORE
public static final GGMessageBox.ButtonHit MB_CANCEL
public static GGMessageBox.ButtonHit[] values()
for (GGMessageBox.ButtonHit c : GGMessageBox.ButtonHit.values()) System.out.println(c);
public static GGMessageBox.ButtonHit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null