com.mindbright.terminal
public class TerminalFrameTitle extends TerminalInputAdapter
TerminalWindow| Constructor and Description |
|---|
TerminalFrameTitle(java.awt.Frame frame,
java.lang.String titleName)
Creates a new instance tied to a specified Frame and with a
give starting title.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attach(TerminalWindow terminal)
Attach this to the given terminal
|
void |
detach()
Detach from the terminal window
|
void |
setTitleName(java.lang.String titleName)
Set the title text.
|
void |
signalWindowChanged(int rows,
int cols,
int vpixels,
int hpixels)
Called when the size of the terminal window has changed.
|
sendBreak, sendBytes, sendBytesDirect, signalTermTypeChanged, typedChar, typedCharpublic TerminalFrameTitle(java.awt.Frame frame,
java.lang.String titleName)
frame - the frame whose title should be updatedtitleName - initial titlepublic void attach(TerminalWindow terminal)
terminal - terminal window to check for size changespublic void detach()
public void setTitleName(java.lang.String titleName)
titleName - title textpublic void signalWindowChanged(int rows,
int cols,
int vpixels,
int hpixels)
TerminalInputListenersignalWindowChanged in interface TerminalInputListenersignalWindowChanged in class TerminalInputAdapterrows - new number of rowscols - new number of columnsvpixels - new number of vertical pixelshpixels - new number of horizontal pixels