Package jline
Interface ConsoleOperations
- All Known Implementing Classes:
ConsoleReader
,Terminal
,UnixTerminal
,UnsupportedTerminal
,WindowsTerminal
public interface ConsoleOperations
Symbolic constants for Console operations and virtual key bindings.
- Author:
- Marc Prud'hommeaux
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
Operation that aborts the current command (like searching)static final short
Operation thatstatic final char
static final short
Operation that toggles between uppercase and lowercase.static final short
Operation thatstatic final short
Operation that clears whatever text is on the current line.static final short
Operation that clears the screen.static final short
Operation that performs completion operation on the current word.static final String
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final char
static final short
Operation thatstatic final short
Operation that deletes the previous character.static final short
Operation thatstatic final short
Operation that deletes the previous word in the buffer.static final short
Operation that moves the current History to the end.static final short
Operation thatstatic final short
Operation that exits the command prompt.static final short
Operation that toggles insert/overtypestatic final char
static final short
Operation that deletes the buffer from the current character to the end.static final short
Operation that deletes the buffer from the cursor to the beginning.static final short
Operation that moves to the beginning of the buffer.static final short
Operation that moves to the end of the buffer.static final short
Operation that issues a newline.static final short
Operation that moves to the next character in the buffer.static final short
Operation that sets the buffer to the next history item.static final short
Operation thatstatic final short
Operation that moved to the next word.static final short
Operation that pastes the contents of the clipboard into the linestatic final short
Operation thatstatic final short
Operation thatstatic final short
Operation that moved to the previous character in the buffer.static final short
Operation that sets the buffer to the previous history item.static final short
Operation that moved to the previous whitespace.static final short
Operation thatstatic final short
Operation that redisplays the current buffer.static final short
Operation that repeats the character.static final short
Operation that moves to the previous character in the buffer.static final short
Operation thatstatic final short
Operation thatstatic final short
Operation thatstatic final short
Operation thatstatic final char
static final short
Operation that searches forward in the command history.static final short
Operation that searches backwards in the command history.static final short
Operation that moves the current History to the beginning.static final short
Operation thatstatic final short
Operation thatstatic final short
Operation that moved to the end of the current word.static final short
Operation thatstatic final short
Operation thatstatic final short
Operation that undoes the previous operation.static final short
Unknown operation.
-
Field Details
-
CR
-
BACKSPACE
- See Also:
-
RESET_LINE
- See Also:
-
KEYBOARD_BELL
- See Also:
-
CTRL_A
- See Also:
-
CTRL_B
- See Also:
-
CTRL_C
- See Also:
-
CTRL_D
- See Also:
-
CTRL_E
- See Also:
-
CTRL_F
- See Also:
-
CTRL_G
- See Also:
-
CTRL_K
- See Also:
-
CTRL_L
- See Also:
-
CTRL_N
- See Also:
-
CTRL_P
- See Also:
-
CTRL_OB
- See Also:
-
DELETE
- See Also:
-
CTRL_QM
- See Also:
-
UNKNOWN
Unknown operation.- See Also:
-
MOVE_TO_BEG
Operation that moves to the beginning of the buffer.- See Also:
-
MOVE_TO_END
Operation that moves to the end of the buffer.- See Also:
-
PREV_CHAR
Operation that moved to the previous character in the buffer.- See Also:
-
NEWLINE
Operation that issues a newline.- See Also:
-
KILL_LINE
Operation that deletes the buffer from the current character to the end.- See Also:
-
CLEAR_SCREEN
Operation that clears the screen.- See Also:
-
NEXT_HISTORY
Operation that sets the buffer to the next history item.- See Also:
-
PREV_HISTORY
Operation that sets the buffer to the previous history item.- See Also:
-
REDISPLAY
Operation that redisplays the current buffer.- See Also:
-
KILL_LINE_PREV
Operation that deletes the buffer from the cursor to the beginning.- See Also:
-
DELETE_PREV_WORD
Operation that deletes the previous word in the buffer.- See Also:
-
NEXT_CHAR
Operation that moves to the next character in the buffer.- See Also:
-
REPEAT_PREV_CHAR
Operation that moves to the previous character in the buffer.- See Also:
-
SEARCH_PREV
Operation that searches backwards in the command history.- See Also:
-
REPEAT_NEXT_CHAR
Operation that repeats the character.- See Also:
-
SEARCH_NEXT
Operation that searches forward in the command history.- See Also:
-
PREV_SPACE_WORD
Operation that moved to the previous whitespace.- See Also:
-
TO_END_WORD
Operation that moved to the end of the current word.- See Also:
-
REPEAT_SEARCH_PREV
Operation that- See Also:
-
PASTE_PREV
Operation that- See Also:
-
REPLACE_MODE
Operation that- See Also:
-
SUBSTITUTE_LINE
Operation that- See Also:
-
TO_PREV_CHAR
Operation that- See Also:
-
NEXT_SPACE_WORD
Operation that- See Also:
-
DELETE_PREV_CHAR
Operation that- See Also:
-
ADD
Operation that- See Also:
-
PREV_WORD
Operation that- See Also:
-
CHANGE_META
Operation that- See Also:
-
DELETE_META
Operation that- See Also:
-
END_WORD
Operation that- See Also:
-
INSERT
Operation that toggles insert/overtype- See Also:
-
REPEAT_SEARCH_NEXT
Operation that- See Also:
-
PASTE_NEXT
Operation that- See Also:
-
REPLACE_CHAR
Operation that- See Also:
-
SUBSTITUTE_CHAR
Operation that- See Also:
-
TO_NEXT_CHAR
Operation that- See Also:
-
UNDO
Operation that undoes the previous operation.- See Also:
-
NEXT_WORD
Operation that moved to the next word.- See Also:
-
DELETE_NEXT_CHAR
Operation that deletes the previous character.- See Also:
-
CHANGE_CASE
Operation that toggles between uppercase and lowercase.- See Also:
-
COMPLETE
Operation that performs completion operation on the current word.- See Also:
-
EXIT
Operation that exits the command prompt.- See Also:
-
PASTE
Operation that pastes the contents of the clipboard into the line- See Also:
-
START_OF_HISTORY
Operation that moves the current History to the beginning.- See Also:
-
END_OF_HISTORY
Operation that moves the current History to the end.- See Also:
-
CLEAR_LINE
Operation that clears whatever text is on the current line.- See Also:
-
ABORT
Operation that aborts the current command (like searching)- See Also:
-