com.mindbright.application
public abstract class ModuleBaseTerminal extends java.awt.event.WindowAdapter implements MindTermModule, java.lang.Runnable, TerminalMenuListener
| Modifier and Type | Field and Description |
|---|---|
protected MindTermApp |
mindterm |
| Constructor and Description |
|---|
ModuleBaseTerminal() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(MindTermApp mindterm) |
void |
close(TerminalMenuHandler originMenu)
Called when the user has selected close in the menu
|
protected abstract boolean |
closeOnDisconnect() |
void |
connected(MindTermApp mindterm) |
java.lang.String |
description(MindTermApp mindterm) |
void |
disconnected(MindTermApp mindterm) |
protected abstract void |
doClose() |
protected abstract java.lang.String |
getTitle() |
protected boolean |
haveMenus() |
void |
init(MindTermApp mindterm) |
protected abstract ModuleBaseTerminal |
newInstance() |
void |
run() |
protected abstract void |
runTerminal(MindTermApp mindterm,
TerminalWindow terminal,
java.awt.Frame frame,
TerminalFrameTitle frameTitle) |
void |
update()
Called when the menu is updated
|
protected boolean |
useChaff() |
void |
windowClosing(java.awt.event.WindowEvent e) |
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAvailableprotected MindTermApp mindterm
public void init(MindTermApp mindterm)
init in interface MindTermModuleprotected boolean haveMenus()
protected boolean useChaff()
public void activate(MindTermApp mindterm)
activate in interface MindTermModulepublic void run()
run in interface java.lang.Runnablepublic void connected(MindTermApp mindterm)
connected in interface MindTermModulepublic void disconnected(MindTermApp mindterm)
disconnected in interface MindTermModulepublic java.lang.String description(MindTermApp mindterm)
description in interface MindTermModulepublic void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerwindowClosing in class java.awt.event.WindowAdapterpublic void close(TerminalMenuHandler originMenu)
TerminalMenuListenerclose in interface TerminalMenuListeneroriginMenu - the menu where close was selectedpublic void update()
TerminalMenuListenerupdate in interface TerminalMenuListenerprotected abstract void runTerminal(MindTermApp mindterm, TerminalWindow terminal, java.awt.Frame frame, TerminalFrameTitle frameTitle)
protected abstract boolean closeOnDisconnect()
protected abstract java.lang.String getTitle()
protected abstract void doClose()
protected abstract ModuleBaseTerminal newInstance()