Interface TerminalInputListener
-
public interface TerminalInputListenerReceives terminal input.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTerminalInputListener.Key
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcharacter(char ch)Called when a character is typed.voidcontrolKey(TerminalInputListener.Key key)Called when a control key is typed.voidendInput()Called on the end of input.
-
-
-
Method Detail
-
character
void character(char ch)
Called when a character is typed. Note that this method is not called for the 'enter' key.
-
controlKey
void controlKey(TerminalInputListener.Key key)
Called when a control key is typed.
-
endInput
void endInput()
Called on the end of input.
-
-