public static enum Dialog.PredefinedButton extends Enum<Dialog.PredefinedButton>
| Modifier and Type | Method and Description |
|---|---|
static Dialog.PredefinedButton |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.PredefinedButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dialog.PredefinedButton OK
public static final Dialog.PredefinedButton CANCEL
public static final Dialog.PredefinedButton CLOSE
public static final Dialog.PredefinedButton YES
public static final Dialog.PredefinedButton NO
public static Dialog.PredefinedButton[] values()
for (Dialog.PredefinedButton c : Dialog.PredefinedButton.values()) System.out.println(c);
public static Dialog.PredefinedButton valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012. All Rights Reserved.