unsw.cse.mica.runner.gui
Class DebugPane

java.lang.Object
  extended by unsw.cse.mica.runner.gui.DebugPane

public class DebugPane
extends java.lang.Object

A helper class for MicaRunner. It connects an OutputStream to a TextArea so that the child processes can have their output streams redirected directly to the text areas in the DebugPanes.

Author:
jhw To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Constructor Summary
DebugPane()
           
 
Method Summary
 void clear()
           
 javax.swing.JComponent getComponent()
           
 java.lang.String[] getLines()
           
 java.io.OutputStream getOutputStream()
           
 boolean isChanged()
           
 void setChanged(boolean changed)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugPane

public DebugPane()
Method Detail

getLines

public java.lang.String[] getLines()

clear

public void clear()

isChanged

public boolean isChanged()

setChanged

public void setChanged(boolean changed)

getOutputStream

public java.io.OutputStream getOutputStream()

getComponent

public javax.swing.JComponent getComponent()