public static enum OkCancelDialog.ButtonOption extends Enum<OkCancelDialog.ButtonOption>
| Modifier and Type | Method and Description |
|---|---|
static OkCancelDialog.ButtonOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OkCancelDialog.ButtonOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OkCancelDialog.ButtonOption OK_ONLY
public static final OkCancelDialog.ButtonOption OK_CANCEL
public static OkCancelDialog.ButtonOption[] values()
for (OkCancelDialog.ButtonOption c : OkCancelDialog.ButtonOption.values()) System.out.println(c);
public static OkCancelDialog.ButtonOption 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 © 2017. All rights reserved.