public enum ConfirmResult extends Enum<ConfirmResult>
| Modifier and Type | Method and Description |
|---|---|
static ConfirmResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfirmResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfirmResult OK
public static final ConfirmResult YES
public static final ConfirmResult NO
public static final ConfirmResult CANCEL
public static ConfirmResult[] values()
for (ConfirmResult c : ConfirmResult.values()) System.out.println(c);
public static ConfirmResult 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 © 2022 vpc open source initiative. All rights reserved.