|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.Handler nz.ac.waikato.mcennis.rat.gui.ScreenHandler
public class ScreenHandler
Logging handler for logging messages to a JTextArea object as if it were standard out.
Constructor Summary | |
---|---|
ScreenHandler()
Create a new handler with a default SimpleFormatter object |
Method Summary | |
---|---|
void |
close()
|
void |
flush()
|
void |
publish(java.util.logging.LogRecord record)
|
void |
setOutputScreen(javax.swing.JTextArea o)
Link this object to a JTextArea |
Methods inherited from class java.util.logging.Handler |
---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScreenHandler()
Method Detail |
---|
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void close() throws java.lang.SecurityException
close
in class java.util.logging.Handler
java.lang.SecurityException
public void setOutputScreen(javax.swing.JTextArea o)
o
- JTextArea object to log to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |