private static enum ConsoleReader.State extends java.lang.Enum<ConsoleReader.State>
Enum Constant and Description |
---|
FORWARD_SEARCH |
NORMAL
The user is just typing away
|
SEARCH
In the middle of a emacs seach
|
VI_CHANGE_TO
VI "change-to" operation ("c" during move mode)
|
VI_DELETE_TO
VI "delete-to" operation ("d" during move mode)
|
VI_YANK_TO
VI "yank-to" operation ("y" during move mode)
|
Modifier and Type | Method and Description |
---|---|
static ConsoleReader.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleReader.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleReader.State NORMAL
public static final ConsoleReader.State SEARCH
public static final ConsoleReader.State FORWARD_SEARCH
public static final ConsoleReader.State VI_YANK_TO
public static final ConsoleReader.State VI_DELETE_TO
public static final ConsoleReader.State VI_CHANGE_TO
public static ConsoleReader.State[] values()
for (ConsoleReader.State c : ConsoleReader.State.values()) System.out.println(c);
public static ConsoleReader.State 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