|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjline.Terminal
jline.UnsupportedTerminal
A no-op unsupported terminal.
Field Summary | |
private java.lang.Thread |
maskThread
|
Fields inherited from class jline.Terminal |
|
Fields inherited from interface jline.ConsoleOperations |
ADD, BACKSPACE, CHANGE_CASE, CHANGE_META, CLEAR_SCREEN, COMPLETE, CR, CTRL_A, CTRL_B, CTRL_C, CTRL_D, CTRL_E, CTRL_F, CTRL_N, CTRL_P, DELETE_META, DELETE_NEXT_CHAR, DELETE_PREV_CHAR, DELETE_PREV_WORD, END_WORD, EXIT, INSERT, KEYBOARD_BELL, KILL_LINE, KILL_LINE_PREV, MOVE_TO_BEG, MOVE_TO_END, NEWLINE, NEXT_CHAR, NEXT_HISTORY, NEXT_SPACE_WORD, NEXT_WORD, PASTE, PASTE_NEXT, PASTE_PREV, PREV_CHAR, PREV_HISTORY, PREV_SPACE_WORD, PREV_WORD, REDISPLAY, REPEAT_NEXT_CHAR, REPEAT_PREV_CHAR, REPEAT_SEARCH_NEXT, REPEAT_SEARCH_PREV, REPLACE_CHAR, REPLACE_MODE, RESET_LINE, SEARCH_NEXT, SEARCH_PREV, SUBSTITUTE_CHAR, SUBSTITUTE_LINE, TO_END_WORD, TO_NEXT_CHAR, TO_PREV_CHAR, UNDO, UNKNOWN |
Constructor Summary | |
UnsupportedTerminal()
|
Method Summary | |
void |
afterReadLine(ConsoleReader reader,
java.lang.String prompt,
java.lang.Character mask)
Invokes after the console reads a line with the prompt and mask. |
void |
beforeReadLine(ConsoleReader reader,
java.lang.String prompt,
java.lang.Character mask)
Invokes before the console reads a line with the prompt and mask. |
boolean |
getEcho()
Returns true if the terminal will echo all characters type. |
int |
getTerminalHeight()
Always returng 24, since we can't access this info on Windows. |
int |
getTerminalWidth()
Always returng 80, since we can't access this info on Windows. |
void |
initializeTerminal()
Initialize any system settings that are required for the console to be able to handle input correctly, such as setting tabtop, buffered input, and character echo. |
boolean |
isSupported()
Returns true if this terminal is capable of initializing the terminal to use jline. |
Methods inherited from class jline.Terminal |
getTerminal, isANSISupported, readCharacter, readVirtualKey, setupTerminal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.Thread maskThread
Constructor Detail |
public UnsupportedTerminal()
Method Detail |
public void initializeTerminal()
Terminal
initializeTerminal
in class Terminal
public boolean getEcho()
Terminal
getEcho
in class Terminal
public int getTerminalWidth()
getTerminalWidth
in class Terminal
public int getTerminalHeight()
getTerminalHeight
in class Terminal
public boolean isSupported()
Terminal
isSupported
in class Terminal
public void beforeReadLine(ConsoleReader reader, java.lang.String prompt, java.lang.Character mask)
Terminal
beforeReadLine
in class Terminal
public void afterReadLine(ConsoleReader reader, java.lang.String prompt, java.lang.Character mask)
Terminal
afterReadLine
in class Terminal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |