|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.util.logging.AbstractLogWriter
org.jscience.util.logging.JTextComponentLog
public class JTextComponentLog
JTextComponentLog writes abbreviated log messages into a given JTextComponent synchronously. Uses StringLineFormatter.
StringLineFormatter,
LogException,
Logger,
LogEntry| Field Summary |
|---|
| Fields inherited from class org.jscience.util.logging.AbstractLogWriter |
|---|
filter, formatter |
| Constructor Summary | |
|---|---|
JTextComponentLog(javax.swing.text.JTextComponent jtc)
Creates a new JTextComponentLog object. |
|
| Method Summary | |
|---|---|
javax.swing.text.JTextComponent |
getComponent()
DOCUMENT ME! |
int |
getLimit()
DOCUMENT ME! |
void |
purge()
purges the log buffer |
void |
setLimit(int limit)
DOCUMENT ME! |
void |
writeLogEntry(java.lang.Object pattern)
This method appends a short version of the entry to internal buffer that is written to the embedded text component. |
| Methods inherited from class org.jscience.util.logging.AbstractLogWriter |
|---|
accept, getLogFilter, getLogFormatter, setLogFilter, setLogFormatter, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JTextComponentLog(javax.swing.text.JTextComponent jtc)
jtc - DOCUMENT ME!| Method Detail |
|---|
public javax.swing.text.JTextComponent getComponent()
public void purge()
public void setLimit(int limit)
limit - DOCUMENT ME!public int getLimit()
public void writeLogEntry(java.lang.Object pattern)
writeLogEntry in class AbstractLogWriterpattern - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||