|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TerminalInputListener
Interface for classes listening on input events in a terminal window. That is the actions performed by the user on the terminal window are signalled using this interface.
TerminalWindow| 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 |
sendBytesDirect(byte[] b)
Send some bytes directly to the host. |
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 |
| Method Detail |
|---|
void typedChar(char c)
c - typed charactervoid typedChar(byte[] b)
b - byte code representation fo the character encoded in
the current encoding.void sendBytes(byte[] b)
b - array of bytes representing characters to inputvoid sendBytesDirect(byte[] b)
b - array of bytes representing characters to send
void signalWindowChanged(int rows,
int cols,
int vpixels,
int hpixels)
rows - new number of rowscols - new number of columnsvpixels - new number of vertical pixelshpixels - new number of horizontal pixelsvoid signalTermTypeChanged(java.lang.String newTermType)
newTermType - new terminal type to emulatevoid sendBreak()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||