JET

edu.utep.cs.jet.gui.output
Interface Outputer

All Known Implementing Classes:
DefaultOutputer

public interface Outputer

An interface to the output console. The output console is used to display all text-based outputs from other GUI components.

Author:
Yoonsik Cheon

Method Summary
 void addContentsChangeListener(ContentsChangeListener l)
          Registers the given contents change listener.
 JComponent getView()
          Returns the output pane that can be added to the main GUI.
 OutputStream outputStream()
          Returns an output stream view of this output console.
 void println(String msg)
          Appends the given message msg to this output area.
 void setSourceCodeViewer(SourceCodeViewer viewer)
          Sets the the source code viewer to locate and highlight the source code lines corresponding to the error messages printed on this outputer.
 

Method Detail

getView

JComponent getView()
Returns the output pane that can be added to the main GUI.


println

void println(String msg)
Appends the given message msg to this output area. A newline character is automatically appended to the end of the message.


outputStream

OutputStream outputStream()
Returns an output stream view of this output console.


setSourceCodeViewer

void setSourceCodeViewer(SourceCodeViewer viewer)
Sets the the source code viewer to locate and highlight the source code lines corresponding to the error messages printed on this outputer.


addContentsChangeListener

void addContentsChangeListener(ContentsChangeListener l)
Registers the given contents change listener. The listener is notified whenever the contents of the output console becomes changed, e.g., when a new line is added.


JET

JET is Copyright (C) 2005-2008 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.