edu.cmu.minorthird.util.gui
Class Console

java.lang.Object
  extended by edu.cmu.minorthird.util.gui.Console

public class Console
extends java.lang.Object

Implements the console window for the gui

Author:
Cameron Williams

Nested Class Summary
static interface Console.Task
          Interface for objects that can be configured with command-line arguments.
 
Constructor Summary
Console(Console.Task t)
           
Console(java.lang.Object t, boolean l, javax.swing.JButton vb)
          Constructor initializes the task, whether labels are present, and the viewButton
 
Method Summary
 void append(java.lang.String s)
          Append a string to the console window.
 void clear()
          Clear the console window.
 javax.swing.JComponent getMainComponent()
          The outermost component of the console.
 void start()
          Start the task for the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Console

public Console(Console.Task t)

Console

public Console(java.lang.Object t,
               boolean l,
               javax.swing.JButton vb)
Constructor initializes the task, whether labels are present, and the viewButton

Method Detail

getMainComponent

public javax.swing.JComponent getMainComponent()
The outermost component of the console.


start

public void start()
Start the task for the console.


append

public void append(java.lang.String s)
Append a string to the console window.


clear

public void clear()
Clear the console window.