jline

Interface ConsoleOperations

public interface ConsoleOperations

Symbolic constants for Console operations and virtual key bindings.

Author: Marc Prud'hommeaux

See Also: KeyEvent

Field Summary
shortADD
Operation that
charBACKSPACE
shortCHANGE_CASE
Operation that toggles between uppercase and lowercase.
shortCHANGE_META
Operation that
static shortCLEAR_LINE
Operation that clears whatever text is on the current line.
shortCLEAR_SCREEN
Operation that clears the screen.
shortCOMPLETE
Operation that performs completion operation on the current word.
StringCR
charCTRL_A
charCTRL_B
charCTRL_C
charCTRL_D
charCTRL_E
charCTRL_F
static charCTRL_K
static charCTRL_L
charCTRL_N
static charCTRL_OB
charCTRL_P
static charCTRL_QM
static charDELETE
shortDELETE_META
Operation that
shortDELETE_NEXT_CHAR
Operation that deletes the previous character.
shortDELETE_PREV_CHAR
Operation that
shortDELETE_PREV_WORD
Operation that deletes the previous word in the buffer.
static shortEND_OF_HISTORY
Operation that moves the current History to the end.
shortEND_WORD
Operation that
shortEXIT
Operation that exits the command prompt.
shortINSERT
Operation that toggles insert/overtype
charKEYBOARD_BELL
shortKILL_LINE
Operation that deletes the buffer from the current character to the end.
shortKILL_LINE_PREV
Operation that deletes the buffer from the cursor to the beginning.
shortMOVE_TO_BEG
Operation that moves to the beginning of the buffer.
shortMOVE_TO_END
Operation that moves to the end of the buffer.
shortNEWLINE
Operation that issues a newline.
shortNEXT_CHAR
Operation that moves to the next character in the buffer.
shortNEXT_HISTORY
Operation that sets the buffer to the next history item.
shortNEXT_SPACE_WORD
Operation that
shortNEXT_WORD
Operation that moved to the next word.
shortPASTE
Operation that pastes the contents of the clipboard into the line
shortPASTE_NEXT
Operation that
shortPASTE_PREV
Operation that
shortPREV_CHAR
Operation that moved to the previous character in the buffer.
shortPREV_HISTORY
Operation that sets the buffer to the previous history item.
shortPREV_SPACE_WORD
Operation that moved to the previous whitespace.
shortPREV_WORD
Operation that
shortREDISPLAY
Operation that redisplays the current buffer.
shortREPEAT_NEXT_CHAR
Operation that repeats the character.
shortREPEAT_PREV_CHAR
Operation that moves to the previous character in the buffer.
shortREPEAT_SEARCH_NEXT
Operation that
shortREPEAT_SEARCH_PREV
Operation that
shortREPLACE_CHAR
Operation that
shortREPLACE_MODE
Operation that
charRESET_LINE
shortSEARCH_NEXT
Operation that searches forward in the command history.
shortSEARCH_PREV
Operation that searches backwards in the command history.
static shortSTART_OF_HISTORY
Operation that moves the current History to the beginning.
shortSUBSTITUTE_CHAR
Operation that
shortSUBSTITUTE_LINE
Operation that
shortTO_END_WORD
Operation that moved to the end of the current word.
shortTO_NEXT_CHAR
Operation that
shortTO_PREV_CHAR
Operation that
shortUNDO
Operation that undoes the previous operation.
shortUNKNOWN
Unknown operation.

Field Detail

ADD

public final short ADD
Operation that

BACKSPACE

public final char BACKSPACE

CHANGE_CASE

public final short CHANGE_CASE
Operation that toggles between uppercase and lowercase.

CHANGE_META

public final short CHANGE_META
Operation that

CLEAR_LINE

public static final short CLEAR_LINE
Operation that clears whatever text is on the current line.

CLEAR_SCREEN

public final short CLEAR_SCREEN
Operation that clears the screen.

COMPLETE

public final short COMPLETE
Operation that performs completion operation on the current word.

CR

public final String CR

CTRL_A

public final char CTRL_A

CTRL_B

public final char CTRL_B

CTRL_C

public final char CTRL_C

CTRL_D

public final char CTRL_D

CTRL_E

public final char CTRL_E

CTRL_F

public final char CTRL_F

CTRL_K

public static final char CTRL_K

CTRL_L

public static final char CTRL_L

CTRL_N

public final char CTRL_N

CTRL_OB

public static final char CTRL_OB

CTRL_P

public final char CTRL_P

CTRL_QM

public static final char CTRL_QM

DELETE

public static final char DELETE

DELETE_META

public final short DELETE_META
Operation that

DELETE_NEXT_CHAR

public final short DELETE_NEXT_CHAR
Operation that deletes the previous character.

DELETE_PREV_CHAR

public final short DELETE_PREV_CHAR
Operation that

DELETE_PREV_WORD

public final short DELETE_PREV_WORD
Operation that deletes the previous word in the buffer.

END_OF_HISTORY

public static final short END_OF_HISTORY
Operation that moves the current History to the end.

END_WORD

public final short END_WORD
Operation that

EXIT

public final short EXIT
Operation that exits the command prompt.

INSERT

public final short INSERT
Operation that toggles insert/overtype

KEYBOARD_BELL

public final char KEYBOARD_BELL

KILL_LINE

public final short KILL_LINE
Operation that deletes the buffer from the current character to the end.

KILL_LINE_PREV

public final short KILL_LINE_PREV
Operation that deletes the buffer from the cursor to the beginning.

MOVE_TO_BEG

public final short MOVE_TO_BEG
Operation that moves to the beginning of the buffer.

MOVE_TO_END

public final short MOVE_TO_END
Operation that moves to the end of the buffer.

NEWLINE

public final short NEWLINE
Operation that issues a newline.

NEXT_CHAR

public final short NEXT_CHAR
Operation that moves to the next character in the buffer.

NEXT_HISTORY

public final short NEXT_HISTORY
Operation that sets the buffer to the next history item.

NEXT_SPACE_WORD

public final short NEXT_SPACE_WORD
Operation that

NEXT_WORD

public final short NEXT_WORD
Operation that moved to the next word.

PASTE

public final short PASTE
Operation that pastes the contents of the clipboard into the line

PASTE_NEXT

public final short PASTE_NEXT
Operation that

PASTE_PREV

public final short PASTE_PREV
Operation that

PREV_CHAR

public final short PREV_CHAR
Operation that moved to the previous character in the buffer.

PREV_HISTORY

public final short PREV_HISTORY
Operation that sets the buffer to the previous history item.

PREV_SPACE_WORD

public final short PREV_SPACE_WORD
Operation that moved to the previous whitespace.

PREV_WORD

public final short PREV_WORD
Operation that

REDISPLAY

public final short REDISPLAY
Operation that redisplays the current buffer.

REPEAT_NEXT_CHAR

public final short REPEAT_NEXT_CHAR
Operation that repeats the character.

REPEAT_PREV_CHAR

public final short REPEAT_PREV_CHAR
Operation that moves to the previous character in the buffer.

REPEAT_SEARCH_NEXT

public final short REPEAT_SEARCH_NEXT
Operation that

REPEAT_SEARCH_PREV

public final short REPEAT_SEARCH_PREV
Operation that

REPLACE_CHAR

public final short REPLACE_CHAR
Operation that

REPLACE_MODE

public final short REPLACE_MODE
Operation that

RESET_LINE

public final char RESET_LINE

SEARCH_NEXT

public final short SEARCH_NEXT
Operation that searches forward in the command history.

SEARCH_PREV

public final short SEARCH_PREV
Operation that searches backwards in the command history.

START_OF_HISTORY

public static final short START_OF_HISTORY
Operation that moves the current History to the beginning.

SUBSTITUTE_CHAR

public final short SUBSTITUTE_CHAR
Operation that

SUBSTITUTE_LINE

public final short SUBSTITUTE_LINE
Operation that

TO_END_WORD

public final short TO_END_WORD
Operation that moved to the end of the current word.

TO_NEXT_CHAR

public final short TO_NEXT_CHAR
Operation that

TO_PREV_CHAR

public final short TO_PREV_CHAR
Operation that

UNDO

public final short UNDO
Operation that undoes the previous operation.

UNKNOWN

public final short UNKNOWN
Unknown operation.
Copyright © 2002-2010 null. All Rights Reserved.