public static enum XPromptChange.Option extends java.lang.Enum<XPromptChange.Option>
Enum Constant and Description |
---|
MULTI_LINE |
SINGLE_LINE |
Modifier and Type | Method and Description |
---|---|
static XPromptChange.Option |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XPromptChange.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPromptChange.Option SINGLE_LINE
public static final XPromptChange.Option MULTI_LINE
public static XPromptChange.Option[] values()
for (XPromptChange.Option c : XPromptChange.Option.values()) System.out.println(c);
public static XPromptChange.Option 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