程序包 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 that
    static final char
     
    static final short
    Operation that toggles between uppercase and lowercase.
    static final short
    Operation that
    static 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 that
    static final short
    Operation that deletes the previous character.
    static final short
    Operation that
    static 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 that
    static final short
    Operation that exits the command prompt.
    static final short
    Operation that toggles insert/overtype
    static 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 that
    static final short
    Operation that moved to the next word.
    static final short
    Operation that pastes the contents of the clipboard into the line
    static final short
    Operation that
    static final short
    Operation that
    static 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 that
    static 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 that
    static final short
    Operation that
    static final short
    Operation that
    static final short
    Operation that
    static 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 that
    static final short
    Operation that
    static final short
    Operation that moved to the end of the current word.
    static final short
    Operation that
    static final short
    Operation that
    static final short
    Operation that undoes the previous operation.
    static final short
    Unknown operation.
  • 字段详细资料

    • CR

      static final String 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 UNKNOWN
      Unknown operation.
      另请参阅:
    • MOVE_TO_BEG

      static final short MOVE_TO_BEG
      Operation that moves to the beginning of the buffer.
      另请参阅:
    • MOVE_TO_END

      static final short MOVE_TO_END
      Operation that moves to the end of the buffer.
      另请参阅:
    • PREV_CHAR

      static final short PREV_CHAR
      Operation that moved to the previous character in the buffer.
      另请参阅:
    • NEWLINE

      static final short NEWLINE
      Operation that issues a newline.
      另请参阅:
    • KILL_LINE

      static final short KILL_LINE
      Operation that deletes the buffer from the current character to the end.
      另请参阅:
    • CLEAR_SCREEN

      static final short CLEAR_SCREEN
      Operation that clears the screen.
      另请参阅:
    • NEXT_HISTORY

      static final short NEXT_HISTORY
      Operation that sets the buffer to the next history item.
      另请参阅:
    • PREV_HISTORY

      static final short PREV_HISTORY
      Operation that sets the buffer to the previous history item.
      另请参阅:
    • REDISPLAY

      static final short REDISPLAY
      Operation that redisplays the current buffer.
      另请参阅:
    • KILL_LINE_PREV

      static final short KILL_LINE_PREV
      Operation that deletes the buffer from the cursor to the beginning.
      另请参阅:
    • DELETE_PREV_WORD

      static final short DELETE_PREV_WORD
      Operation that deletes the previous word in the buffer.
      另请参阅:
    • NEXT_CHAR

      static final short NEXT_CHAR
      Operation that moves to the next character in the buffer.
      另请参阅:
    • REPEAT_PREV_CHAR

      static final short REPEAT_PREV_CHAR
      Operation that moves to the previous character in the buffer.
      另请参阅:
    • SEARCH_PREV

      static final short SEARCH_PREV
      Operation that searches backwards in the command history.
      另请参阅:
    • REPEAT_NEXT_CHAR

      static final short REPEAT_NEXT_CHAR
      Operation that repeats the character.
      另请参阅:
    • SEARCH_NEXT

      static final short SEARCH_NEXT
      Operation that searches forward in the command history.
      另请参阅:
    • PREV_SPACE_WORD

      static final short PREV_SPACE_WORD
      Operation that moved to the previous whitespace.
      另请参阅:
    • TO_END_WORD

      static final short TO_END_WORD
      Operation that moved to the end of the current word.
      另请参阅:
    • REPEAT_SEARCH_PREV

      static final short REPEAT_SEARCH_PREV
      Operation that
      另请参阅:
    • PASTE_PREV

      static final short PASTE_PREV
      Operation that
      另请参阅:
    • REPLACE_MODE

      static final short REPLACE_MODE
      Operation that
      另请参阅:
    • SUBSTITUTE_LINE

      static final short SUBSTITUTE_LINE
      Operation that
      另请参阅:
    • TO_PREV_CHAR

      static final short TO_PREV_CHAR
      Operation that
      另请参阅:
    • NEXT_SPACE_WORD

      static final short NEXT_SPACE_WORD
      Operation that
      另请参阅:
    • DELETE_PREV_CHAR

      static final short DELETE_PREV_CHAR
      Operation that
      另请参阅:
    • ADD

      static final short ADD
      Operation that
      另请参阅:
    • PREV_WORD

      static final short PREV_WORD
      Operation that
      另请参阅:
    • CHANGE_META

      static final short CHANGE_META
      Operation that
      另请参阅:
    • DELETE_META

      static final short DELETE_META
      Operation that
      另请参阅:
    • END_WORD

      static final short END_WORD
      Operation that
      另请参阅:
    • INSERT

      static final short INSERT
      Operation that toggles insert/overtype
      另请参阅:
    • REPEAT_SEARCH_NEXT

      static final short REPEAT_SEARCH_NEXT
      Operation that
      另请参阅:
    • PASTE_NEXT

      static final short PASTE_NEXT
      Operation that
      另请参阅:
    • REPLACE_CHAR

      static final short REPLACE_CHAR
      Operation that
      另请参阅:
    • SUBSTITUTE_CHAR

      static final short SUBSTITUTE_CHAR
      Operation that
      另请参阅:
    • TO_NEXT_CHAR

      static final short TO_NEXT_CHAR
      Operation that
      另请参阅:
    • UNDO

      static final short UNDO
      Operation that undoes the previous operation.
      另请参阅:
    • NEXT_WORD

      static final short NEXT_WORD
      Operation that moved to the next word.
      另请参阅:
    • DELETE_NEXT_CHAR

      static final short DELETE_NEXT_CHAR
      Operation that deletes the previous character.
      另请参阅:
    • CHANGE_CASE

      static final short CHANGE_CASE
      Operation that toggles between uppercase and lowercase.
      另请参阅:
    • COMPLETE

      static final short COMPLETE
      Operation that performs completion operation on the current word.
      另请参阅:
    • EXIT

      static final short EXIT
      Operation that exits the command prompt.
      另请参阅:
    • PASTE

      static final short PASTE
      Operation that pastes the contents of the clipboard into the line
      另请参阅:
    • START_OF_HISTORY

      static final short START_OF_HISTORY
      Operation that moves the current History to the beginning.
      另请参阅:
    • END_OF_HISTORY

      static final short END_OF_HISTORY
      Operation that moves the current History to the end.
      另请参阅:
    • CLEAR_LINE

      static final short CLEAR_LINE
      Operation that clears whatever text is on the current line.
      另请参阅:
    • ABORT

      static final short ABORT
      Operation that aborts the current command (like searching)
      另请参阅: