com.mindbright.application
Class ModuleTerminalImpl

java.lang.Object
  extended byjava.awt.event.WindowAdapter
      extended bycom.mindbright.application.ModuleBaseTerminal
          extended bycom.mindbright.application.ModuleTerminalImpl
All Implemented Interfaces:
java.util.EventListener, MindTermModule, java.lang.Runnable, TerminalMenuListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener

public class ModuleTerminalImpl
extends ModuleBaseTerminal


Field Summary
 
Fields inherited from class com.mindbright.application.ModuleBaseTerminal
mindterm
 
Constructor Summary
ModuleTerminalImpl()
           
 
Method Summary
protected  boolean closeOnDisconnect()
           
 void doClose()
           
 java.lang.String getTitle()
           
protected  boolean haveMenus()
           
 boolean isAvailable(MindTermApp mindterm)
           
protected  ModuleBaseTerminal newInstance()
           
 void runTerminal(MindTermApp mindterm, TerminalWindow terminal, java.awt.Frame frame, TerminalFrameTitle frameTitle)
           
 
Methods inherited from class com.mindbright.application.ModuleBaseTerminal
activate, close, connected, description, disconnected, getTerminalMenuHandler, init, run, update, useChaff, windowClosing
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleTerminalImpl

public ModuleTerminalImpl()
Method Detail

runTerminal

public void runTerminal(MindTermApp mindterm,
                        TerminalWindow terminal,
                        java.awt.Frame frame,
                        TerminalFrameTitle frameTitle)
Specified by:
runTerminal in class ModuleBaseTerminal

closeOnDisconnect

protected boolean closeOnDisconnect()
Specified by:
closeOnDisconnect in class ModuleBaseTerminal

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in class ModuleBaseTerminal

isAvailable

public boolean isAvailable(MindTermApp mindterm)

haveMenus

protected boolean haveMenus()
Overrides:
haveMenus in class ModuleBaseTerminal

doClose

public void doClose()
Specified by:
doClose in class ModuleBaseTerminal

newInstance

protected ModuleBaseTerminal newInstance()
Specified by:
newInstance in class ModuleBaseTerminal