public static enum SearchAction.SearchMode extends java.lang.Enum<SearchAction.SearchMode>
Enum Constant and Description |
---|
add |
in_selection |
remove |
replace |
Modifier and Type | Field and Description |
---|---|
private char |
code |
Modifier and Type | Method and Description |
---|---|
static SearchAction.SearchMode |
fromCode(char code) |
char |
getCode() |
static SearchAction.SearchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchAction.SearchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchAction.SearchMode replace
public static final SearchAction.SearchMode add
public static final SearchAction.SearchMode remove
public static final SearchAction.SearchMode in_selection
private final char code
public static SearchAction.SearchMode[] values()
for (SearchAction.SearchMode c : SearchAction.SearchMode.values()) System.out.println(c);
public static SearchAction.SearchMode 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 nullpublic char getCode()
public static SearchAction.SearchMode fromCode(char code)