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
static final char BACKSPACE- See Also:
-
RESET_LINE
static final char RESET_LINE- See Also:
-
KEYBOARD_BELL
static final char KEYBOARD_BELL- See Also:
-
CTRL_A
static final char CTRL_A- See Also:
-
CTRL_B
static final char CTRL_B- See Also:
-
CTRL_C
static final char CTRL_C- See Also:
-
CTRL_D
static final char CTRL_D- See Also:
-
CTRL_E
static final char CTRL_E- See Also:
-
CTRL_F
static final char CTRL_F- See Also:
-
CTRL_G
static final char CTRL_G- See Also:
-
CTRL_K
static final char CTRL_K- See Also:
-
CTRL_L
static final char CTRL_L- See Also:
-
CTRL_N
static final char CTRL_N- See Also:
-
CTRL_P
static final char CTRL_P- See Also:
-
CTRL_OB
static final char CTRL_OB- See Also:
-
DELETE
static final char DELETE- See Also:
-
CTRL_QM
static final char CTRL_QM- See Also:
-
UNKNOWN
static final short UNKNOWNUnknown operation.- See Also:
-
MOVE_TO_BEG
static final short MOVE_TO_BEGOperation that moves to the beginning of the buffer.- See Also:
-
MOVE_TO_END
static final short MOVE_TO_ENDOperation that moves to the end of the buffer.- See Also:
-
PREV_CHAR
static final short PREV_CHAROperation that moved to the previous character in the buffer.- See Also:
-
NEWLINE
static final short NEWLINEOperation that issues a newline.- See Also:
-
KILL_LINE
static final short KILL_LINEOperation that deletes the buffer from the current character to the end.- See Also:
-
CLEAR_SCREEN
static final short CLEAR_SCREENOperation that clears the screen.- See Also:
-
NEXT_HISTORY
static final short NEXT_HISTORYOperation that sets the buffer to the next history item.- See Also:
-
PREV_HISTORY
static final short PREV_HISTORYOperation that sets the buffer to the previous history item.- See Also:
-
REDISPLAY
static final short REDISPLAYOperation that redisplays the current buffer.- See Also:
-
KILL_LINE_PREV
static final short KILL_LINE_PREVOperation that deletes the buffer from the cursor to the beginning.- See Also:
-
DELETE_PREV_WORD
static final short DELETE_PREV_WORDOperation that deletes the previous word in the buffer.- See Also:
-
NEXT_CHAR
static final short NEXT_CHAROperation that moves to the next character in the buffer.- See Also:
-
REPEAT_PREV_CHAR
static final short REPEAT_PREV_CHAROperation that moves to the previous character in the buffer.- See Also:
-
SEARCH_PREV
static final short SEARCH_PREVOperation that searches backwards in the command history.- See Also:
-
REPEAT_NEXT_CHAR
static final short REPEAT_NEXT_CHAROperation that repeats the character.- See Also:
-
SEARCH_NEXT
static final short SEARCH_NEXTOperation that searches forward in the command history.- See Also:
-
PREV_SPACE_WORD
static final short PREV_SPACE_WORDOperation that moved to the previous whitespace.- See Also:
-
TO_END_WORD
static final short TO_END_WORDOperation that moved to the end of the current word.- See Also:
-
REPEAT_SEARCH_PREV
static final short REPEAT_SEARCH_PREVOperation that- See Also:
-
PASTE_PREV
static final short PASTE_PREVOperation that- See Also:
-
REPLACE_MODE
static final short REPLACE_MODEOperation that- See Also:
-
SUBSTITUTE_LINE
static final short SUBSTITUTE_LINEOperation that- See Also:
-
TO_PREV_CHAR
static final short TO_PREV_CHAROperation that- See Also:
-
NEXT_SPACE_WORD
static final short NEXT_SPACE_WORDOperation that- See Also:
-
DELETE_PREV_CHAR
static final short DELETE_PREV_CHAROperation that- See Also:
-
ADD
static final short ADDOperation that- See Also:
-
PREV_WORD
static final short PREV_WORDOperation that- See Also:
-
CHANGE_META
static final short CHANGE_METAOperation that- See Also:
-
DELETE_META
static final short DELETE_METAOperation that- See Also:
-
END_WORD
static final short END_WORDOperation that- See Also:
-
INSERT
static final short INSERTOperation that toggles insert/overtype- See Also:
-
REPEAT_SEARCH_NEXT
static final short REPEAT_SEARCH_NEXTOperation that- See Also:
-
PASTE_NEXT
static final short PASTE_NEXTOperation that- See Also:
-
REPLACE_CHAR
static final short REPLACE_CHAROperation that- See Also:
-
SUBSTITUTE_CHAR
static final short SUBSTITUTE_CHAROperation that- See Also:
-
TO_NEXT_CHAR
static final short TO_NEXT_CHAROperation that- See Also:
-
UNDO
static final short UNDOOperation that undoes the previous operation.- See Also:
-
NEXT_WORD
static final short NEXT_WORDOperation that moved to the next word.- See Also:
-
DELETE_NEXT_CHAR
static final short DELETE_NEXT_CHAROperation that deletes the previous character.- See Also:
-
CHANGE_CASE
static final short CHANGE_CASEOperation that toggles between uppercase and lowercase.- See Also:
-
COMPLETE
static final short COMPLETEOperation that performs completion operation on the current word.- See Also:
-
EXIT
static final short EXITOperation that exits the command prompt.- See Also:
-
PASTE
static final short PASTEOperation that pastes the contents of the clipboard into the line- See Also:
-
START_OF_HISTORY
static final short START_OF_HISTORYOperation that moves the current History to the beginning.- See Also:
-
END_OF_HISTORY
static final short END_OF_HISTORYOperation that moves the current History to the end.- See Also:
-
CLEAR_LINE
static final short CLEAR_LINEOperation that clears whatever text is on the current line.- See Also:
-
ABORT
static final short ABORTOperation that aborts the current command (like searching)- See Also:
-