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