|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ryanm.logging.AbstractSink
com.ryanm.logging.StringSink
com.ryanm.logging.gui.LogTerminal
public class LogTerminal
A String sink that prints its output to a JTextArea
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ryanm.logging.StringSink |
|---|
StringSink.StringSinkConfigurator |
| Constructor Summary | |
|---|---|
LogTerminal(java.lang.String title)
Constructs a new LogTerminal |
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
getTerminal()
Gets the JTextArea that this sink will print to |
protected void |
writeString(java.lang.String s)
This should be overridden to write the supplied string to wherever, stdOut, a file, something like that. |
| Methods inherited from class com.ryanm.logging.StringSink |
|---|
getConfigurator, log |
| Methods inherited from class com.ryanm.logging.AbstractSink |
|---|
addSinkListener, getTitle, notifyListeners, removeSinkListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogTerminal(java.lang.String title)
title - The title for the sink| Method Detail |
|---|
public javax.swing.JComponent getTerminal()
protected void writeString(java.lang.String s)
StringSink
writeString in class StringSinks - The String to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||