Enum Actions
- All Implemented Interfaces:
Serializable, Comparable<Actions>, java.lang.constant.Constable
Enumeration of all available readline action names.
- Author:
- Ståle W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbort the current operation.Accept and execute the current line.Move cursor backward one character.Delete the character before the cursor.Kill text from cursor to the beginning of the line.Kill the word before the cursor.Move cursor backward one word.Move to the first entry in history.Move cursor to the beginning of the line.Execute the last keyboard macro.Capitalize the current or following word.Search forward for a character.Search backward for a character.Clear the terminal screen.Trigger command completion.Copy the word before the cursor to the kill ring.Copy the word after the cursor to the kill ring.Copy the entire line to the kill ring.Delete the character at the cursor.Delete character at cursor or list completions if line is empty.Delete all horizontal whitespace around the cursor.Start or accumulate a numeric argument for subsequent commands.Execute the uppercase equivalent of a meta command.Convert the current or following word to lowercase.Dump all readline functions to output.Dump all readline macros to output.Dump all readline variables to output.Switch to emacs editing mode.Stop recording a keyboard macro.Move to the last entry in history.Move cursor to the end of the line.Swap the cursor position with the mark.Delete character at cursor or before cursor depending on position.Move cursor forward one character.Search backward starting from forward position in history.Search forward through history.Move cursor forward one word.Search forward through history for lines starting with current input.Insert a comment character at the beginning of the line.Insert all completions of the text before cursor.Kill text from cursor to the end of the line.Kill the text between cursor and mark.Kill the entire current line.Kill the word after the cursor.Complete using menu of possible completions.Complete backward using menu of possible completions.Move to the next entry in history.Search forward through history non-incrementally.Search backward through history non-incrementally.Toggle overwrite mode for character insertion.List possible completions for the current input.Make the next character typed be meta-prefixed.Move to the previous entry in history.Insert the next character literally without interpretation.Re-read the readline initialization file.Redraw the current line.Search backward through history incrementally.Revert the line to its original state from history.Insert the typed character at the cursor position.Set the mark at the current cursor position.Skip a CSI escape sequence.Start recording a keyboard macro.Insert a tab character.Expand tilde to home directory path.Swap the character at cursor with the previous character.Swap the word at cursor with the previous word.Undo the last editing change.Multiply the argument count by four.Kill backward to the previous slash or whitespace.Convert the character at cursor to uppercase.Convert the current or following word to uppercase.Switch to vi editing mode.Yank (paste) the most recently killed text.Yank text after the cursor position (vi mode).Yank the last argument from the previous command.Yank the nth argument from the previous command.Cycle through the kill ring after a yank. -
Method Summary
-
Enum Constant Details
-
ABORT
Abort the current operation. -
ACCEPT_LINE
Accept and execute the current line. -
BACKWARD_CHAR
Move cursor backward one character. -
BACKWARD_DELETE_CHAR
Delete the character before the cursor. -
BACKWARD_KILL_LINE
Kill text from cursor to the beginning of the line. -
BACKWARD_KILL_WORD
Kill the word before the cursor. -
BACKWARD_WORD
Move cursor backward one word. -
BEGINNING_OF_HISTORY
Move to the first entry in history. -
BEGINNING_OF_LINE
Move cursor to the beginning of the line. -
CALL_LAST_KBD_MACRO
Execute the last keyboard macro. -
CAPITALIZE_WORD
Capitalize the current or following word. -
CHARACTER_SEARCH
Search forward for a character. -
CHARACTER_SEARCH_BACKWARD
Search backward for a character. -
CLEAR_SCREEN
Clear the terminal screen. -
COMPLETE
Trigger command completion. -
COPY_BACKWARD_WORD
Copy the word before the cursor to the kill ring. -
COPY_FORWARD_WORD
Copy the word after the cursor to the kill ring. -
COPY_LINE
Copy the entire line to the kill ring. -
DELETE_CHAR
Delete the character at the cursor. -
DELETE_CHAR_OR_LIST
Delete character at cursor or list completions if line is empty. -
DELETE_HORIZONTAL_SPACE
Delete all horizontal whitespace around the cursor. -
DIGIT_ARGUMENT
Start or accumulate a numeric argument for subsequent commands. -
DO_UPPERCASE_VERSION
Execute the uppercase equivalent of a meta command. -
DOWNCASE_WORD
Convert the current or following word to lowercase. -
DUMP_FUNCTIONS
Dump all readline functions to output. -
DUMP_MACROS
Dump all readline macros to output. -
DUMP_VARIABLES
Dump all readline variables to output. -
EMACS_EDITING_MODE
Switch to emacs editing mode. -
END_KBD_MACRO
Stop recording a keyboard macro. -
END_OF_HISTORY
Move to the last entry in history. -
END_OF_LINE
Move cursor to the end of the line. -
EXCHANGE_POINT_AND_MARK
Swap the cursor position with the mark. -
FORWARD_BACKWARD_DELETE_CHAR
Delete character at cursor or before cursor depending on position. -
FORWARD_CHAR
Move cursor forward one character. -
FORWARD_SEARCH_HISTORY
Search forward through history. -
FORWARD_WORD
Move cursor forward one word. -
FORWARD_SEARCH_BACKWARD
Search backward starting from forward position in history. -
HISTORY_SEARCH_FORWARD
Search forward through history for lines starting with current input. -
INSERT_COMMENT
Insert a comment character at the beginning of the line. -
INSERT_COMPLETIONS
Insert all completions of the text before cursor. -
KILL_LINE
Kill text from cursor to the end of the line. -
KILL_REGION
Kill the text between cursor and mark. -
KILL_WHOLE_LINE
Kill the entire current line. -
KILL_WORD
Kill the word after the cursor. -
MENU_COMPLETE
Complete using menu of possible completions. -
MENU_COMPLETE_BACKWARD
Complete backward using menu of possible completions. -
NEXT_HISTORY
Move to the next entry in history. -
NON_INCREMENTAL_FORWARD_SEARCH_HISTORY
Search forward through history non-incrementally. -
NON_INCREMENTAL_REVERSE_SEARCH_HISTORY
Search backward through history non-incrementally. -
OVERWRITE_MODE
Toggle overwrite mode for character insertion. -
POSSIBLE_COMPLETIONS
List possible completions for the current input. -
PREFIX_META
Make the next character typed be meta-prefixed. -
PREVIOUS_HISTORY
Move to the previous entry in history. -
QUOTED_INSERT
Insert the next character literally without interpretation. -
RE_READ_INIT_FILE
Re-read the readline initialization file. -
REDRAW_CURRENT_LINE
Redraw the current line. -
REVERSE_SEARCH_HISTORY
Search backward through history incrementally. -
REVERT_LINE
Revert the line to its original state from history. -
SELF_INSERT
Insert the typed character at the cursor position. -
SET_MARK
Set the mark at the current cursor position. -
SKIP_CSI_SEQUENCE
Skip a CSI escape sequence. -
START_KBD_MACRO
Start recording a keyboard macro. -
TAB_INSERT
Insert a tab character. -
TILDE_EXPAND
Expand tilde to home directory path. -
TRANSPOSE_CHARS
Swap the character at cursor with the previous character. -
TRANSPOSE_WORDS
Swap the word at cursor with the previous word. -
UNDO
Undo the last editing change. -
UNIVERSAL_ARGUMENT
Multiply the argument count by four. -
UNIX_FILENAME_RUBOUT
Kill backward to the previous slash or whitespace. -
UPCASE_CHAR
Convert the character at cursor to uppercase. -
UPCASE_WORD
Convert the current or following word to uppercase. -
VI_EDITING_MODE
Switch to vi editing mode. -
YANK
Yank (paste) the most recently killed text. -
YANK_LAST_ARG
Yank the last argument from the previous command. -
YANK_NTH_ARG
Yank the nth argument from the previous command. -
YANK_POP
Cycle through the kill ring after a yank. -
YANK_AFTER
Yank text after the cursor position (vi mode).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-