程序包 jline
接口 ConsoleOperations
- 所有已知实现类:
ConsoleReader
,Terminal
,UnixTerminal
,UnsupportedTerminal
,WindowsTerminal
public interface ConsoleOperations
Symbolic constants for Console operations and virtual key bindings.
- 作者:
- Marc Prud'hommeaux
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明static 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.
-
字段详细资料
-
CR
-
BACKSPACE
static final char BACKSPACE- 另请参阅:
-
RESET_LINE
static final char RESET_LINE- 另请参阅:
-
KEYBOARD_BELL
static final char KEYBOARD_BELL- 另请参阅:
-
CTRL_A
static final char CTRL_A- 另请参阅:
-
CTRL_B
static final char CTRL_B- 另请参阅:
-
CTRL_C
static final char CTRL_C- 另请参阅:
-
CTRL_D
static final char CTRL_D- 另请参阅:
-
CTRL_E
static final char CTRL_E- 另请参阅:
-
CTRL_F
static final char CTRL_F- 另请参阅:
-
CTRL_G
static final char CTRL_G- 另请参阅:
-
CTRL_K
static final char CTRL_K- 另请参阅:
-
CTRL_L
static final char CTRL_L- 另请参阅:
-
CTRL_N
static final char CTRL_N- 另请参阅:
-
CTRL_P
static final char CTRL_P- 另请参阅:
-
CTRL_OB
static final char CTRL_OB- 另请参阅:
-
DELETE
static final char DELETE- 另请参阅:
-
CTRL_QM
static final char CTRL_QM- 另请参阅:
-
UNKNOWN
static final short UNKNOWNUnknown operation.- 另请参阅:
-
MOVE_TO_BEG
static final short MOVE_TO_BEGOperation that moves to the beginning of the buffer.- 另请参阅:
-
MOVE_TO_END
static final short MOVE_TO_ENDOperation that moves to the end of the buffer.- 另请参阅:
-
PREV_CHAR
static final short PREV_CHAROperation that moved to the previous character in the buffer.- 另请参阅:
-
NEWLINE
static final short NEWLINEOperation that issues a newline.- 另请参阅:
-
KILL_LINE
static final short KILL_LINEOperation that deletes the buffer from the current character to the end.- 另请参阅:
-
CLEAR_SCREEN
static final short CLEAR_SCREENOperation that clears the screen.- 另请参阅:
-
NEXT_HISTORY
static final short NEXT_HISTORYOperation that sets the buffer to the next history item.- 另请参阅:
-
PREV_HISTORY
static final short PREV_HISTORYOperation that sets the buffer to the previous history item.- 另请参阅:
-
REDISPLAY
static final short REDISPLAYOperation that redisplays the current buffer.- 另请参阅:
-
KILL_LINE_PREV
static final short KILL_LINE_PREVOperation that deletes the buffer from the cursor to the beginning.- 另请参阅:
-
DELETE_PREV_WORD
static final short DELETE_PREV_WORDOperation that deletes the previous word in the buffer.- 另请参阅:
-
NEXT_CHAR
static final short NEXT_CHAROperation that moves to the next character in the buffer.- 另请参阅:
-
REPEAT_PREV_CHAR
static final short REPEAT_PREV_CHAROperation that moves to the previous character in the buffer.- 另请参阅:
-
SEARCH_PREV
static final short SEARCH_PREVOperation that searches backwards in the command history.- 另请参阅:
-
REPEAT_NEXT_CHAR
static final short REPEAT_NEXT_CHAROperation that repeats the character.- 另请参阅:
-
SEARCH_NEXT
static final short SEARCH_NEXTOperation that searches forward in the command history.- 另请参阅:
-
PREV_SPACE_WORD
static final short PREV_SPACE_WORDOperation that moved to the previous whitespace.- 另请参阅:
-
TO_END_WORD
static final short TO_END_WORDOperation that moved to the end of the current word.- 另请参阅:
-
REPEAT_SEARCH_PREV
static final short REPEAT_SEARCH_PREVOperation that- 另请参阅:
-
PASTE_PREV
static final short PASTE_PREVOperation that- 另请参阅:
-
REPLACE_MODE
static final short REPLACE_MODEOperation that- 另请参阅:
-
SUBSTITUTE_LINE
static final short SUBSTITUTE_LINEOperation that- 另请参阅:
-
TO_PREV_CHAR
static final short TO_PREV_CHAROperation that- 另请参阅:
-
NEXT_SPACE_WORD
static final short NEXT_SPACE_WORDOperation that- 另请参阅:
-
DELETE_PREV_CHAR
static final short DELETE_PREV_CHAROperation that- 另请参阅:
-
ADD
static final short ADDOperation that- 另请参阅:
-
PREV_WORD
static final short PREV_WORDOperation that- 另请参阅:
-
CHANGE_META
static final short CHANGE_METAOperation that- 另请参阅:
-
DELETE_META
static final short DELETE_METAOperation that- 另请参阅:
-
END_WORD
static final short END_WORDOperation that- 另请参阅:
-
INSERT
static final short INSERTOperation that toggles insert/overtype- 另请参阅:
-
REPEAT_SEARCH_NEXT
static final short REPEAT_SEARCH_NEXTOperation that- 另请参阅:
-
PASTE_NEXT
static final short PASTE_NEXTOperation that- 另请参阅:
-
REPLACE_CHAR
static final short REPLACE_CHAROperation that- 另请参阅:
-
SUBSTITUTE_CHAR
static final short SUBSTITUTE_CHAROperation that- 另请参阅:
-
TO_NEXT_CHAR
static final short TO_NEXT_CHAROperation that- 另请参阅:
-
UNDO
static final short UNDOOperation that undoes the previous operation.- 另请参阅:
-
NEXT_WORD
static final short NEXT_WORDOperation that moved to the next word.- 另请参阅:
-
DELETE_NEXT_CHAR
static final short DELETE_NEXT_CHAROperation that deletes the previous character.- 另请参阅:
-
CHANGE_CASE
static final short CHANGE_CASEOperation that toggles between uppercase and lowercase.- 另请参阅:
-
COMPLETE
static final short COMPLETEOperation that performs completion operation on the current word.- 另请参阅:
-
EXIT
static final short EXITOperation that exits the command prompt.- 另请参阅:
-
PASTE
static final short PASTEOperation that pastes the contents of the clipboard into the line- 另请参阅:
-
START_OF_HISTORY
static final short START_OF_HISTORYOperation that moves the current History to the beginning.- 另请参阅:
-
END_OF_HISTORY
static final short END_OF_HISTORYOperation that moves the current History to the end.- 另请参阅:
-
CLEAR_LINE
static final short CLEAR_LINEOperation that clears whatever text is on the current line.- 另请参阅:
-
ABORT
static final short ABORTOperation that aborts the current command (like searching)- 另请参阅:
-