byucc.jhdl.apps.Jab
Class TextConsole

java.lang.Object
  extended byjava.lang.Thread
      extended bybyucc.jhdl.apps.Jab.TextConsole
All Implemented Interfaces:
CLICommandListener, CLIConsole, java.lang.Runnable

public class TextConsole
extends java.lang.Thread
implements CLIConsole, CLICommandListener


Field Summary
protected  CLInterpreter interp
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TextConsole()
           
 
Method Summary
 void CLICommandEventFired(CLICommandEvent e)
           
 void complete()
           
 int getCharsPerLine()
           
 CLInterpreter getCLInterpreter()
           
protected  CLInterpreter getInterp()
           
 void getNextCommand()
           
 void getPrevCommand()
           
static void main(java.lang.String[] args)
           
 boolean parseCmd()
           
 void print(java.lang.String info)
           
 void println(java.lang.String info)
           
 void run()
           
 void setTerminal()
           
 void showPrompt()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

interp

protected CLInterpreter interp
Constructor Detail

TextConsole

public TextConsole()
Method Detail

CLICommandEventFired

public void CLICommandEventFired(CLICommandEvent e)
Specified by:
CLICommandEventFired in interface CLICommandListener

setTerminal

public void setTerminal()

run

public void run()
Specified by:
run in interface java.lang.Runnable

showPrompt

public void showPrompt()

parseCmd

public boolean parseCmd()

complete

public void complete()

getPrevCommand

public void getPrevCommand()

getNextCommand

public void getNextCommand()

println

public void println(java.lang.String info)
Specified by:
println in interface CLIConsole

print

public void print(java.lang.String info)
Specified by:
print in interface CLIConsole

getCLInterpreter

public CLInterpreter getCLInterpreter()

getCharsPerLine

public int getCharsPerLine()
Specified by:
getCharsPerLine in interface CLIConsole

main

public static void main(java.lang.String[] args)

getInterp

protected CLInterpreter getInterp()


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.