public static enum Dialog.ButtonType extends java.lang.Enum<Dialog.ButtonType>
| Enum Constant and Description |
|---|
CANCEL
A cancel button
|
CUSTOM
A custom button
|
NO
A no button
|
OK
An ok button
|
YES
A yes button
|
| Modifier and Type | Method and Description |
|---|---|
static Dialog.ButtonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.ButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dialog.ButtonType OK
public static final Dialog.ButtonType CANCEL
public static final Dialog.ButtonType YES
public static final Dialog.ButtonType NO
public static final Dialog.ButtonType CUSTOM
public static Dialog.ButtonType[] values()
for (Dialog.ButtonType c : Dialog.ButtonType.values()) System.out.println(c);
public static Dialog.ButtonType 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