com.mindbright.terminal
public abstract class TerminalInterpreter extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
IGNORE |
protected CompatTerminal |
term |
Constructor and Description |
---|
TerminalInterpreter() |
Modifier and Type | Method and Description |
---|---|
abstract int |
interpretChar(char c) |
void |
keyHandler(char c,
int virtualKey,
int modifiers) |
void |
mouseHandler(int x,
int y,
boolean press,
int modifiers) |
void |
setDumbMode(boolean dumb) |
void |
setTerminal(CompatTerminal term) |
abstract java.lang.String |
terminalType() |
void |
vtReset() |
protected CompatTerminal term
public static final int IGNORE
public abstract java.lang.String terminalType()
public abstract int interpretChar(char c)
public void vtReset()
public void keyHandler(char c, int virtualKey, int modifiers)
public void mouseHandler(int x, int y, boolean press, int modifiers)
public final void setTerminal(CompatTerminal term)
public void setDumbMode(boolean dumb)