|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindbright.terminal.TerminalInputAdapter
An abstract adapter class for receiving terminal input events. The methods in this class are empty. This class exists as convenience for creating listener objects.
| Constructor Summary | |
TerminalInputAdapter()
|
|
| Method Summary | |
void |
sendBreak()
Called when the user sends a break to the terminal |
void |
sendBytes(byte[] b)
May be called when the user pastes data. |
void |
signalTermTypeChanged(java.lang.String newTermType)
Called when the terminal type has changed. |
void |
signalWindowChanged(int rows,
int cols,
int vpixels,
int hpixels)
Called when the size of the terminal window has changed. |
void |
typedChar(byte[] b)
Called when the user types a character |
void |
typedChar(char c)
Called when the user types a character |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TerminalInputAdapter()
| Method Detail |
public void typedChar(char c)
TerminalInputListener
typedChar in interface TerminalInputListenerc - typed characterpublic void typedChar(byte[] b)
TerminalInputListener
typedChar in interface TerminalInputListenerb - byte code representation fo the character encoded in
the current encoding.public void sendBytes(byte[] b)
TerminalInputListener
sendBytes in interface TerminalInputListenerb - array of bytes representing characters to input
public void signalWindowChanged(int rows,
int cols,
int vpixels,
int hpixels)
TerminalInputListener
signalWindowChanged in interface TerminalInputListenerrows - new number of rowscols - new number of columnsvpixels - new number of vertical pixelshpixels - new number of horizontal pixelspublic void signalTermTypeChanged(java.lang.String newTermType)
TerminalInputListener
signalTermTypeChanged in interface TerminalInputListenernewTermType - new terminal type to emulatepublic void sendBreak()
TerminalInputListener
sendBreak in interface TerminalInputListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||