public class JTextAreaWriter extends Writer
Writer
adapter for the output area of the script editor.Modifier and Type | Field and Description |
---|---|
protected LogService |
log |
Constructor and Description |
---|
JTextAreaWriter(JTextArea textArea,
LogService logService)
Creates a new output stream that prints every 400 ms to the textArea.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
flushQueue() |
void |
print(String line) |
void |
shutdown()
Stop printing services, finishing to print any remaining tasks in the
context of the calling thread.
|
void |
shutdownNow()
Stop printing services immediately, not printing any remaining text.
|
void |
write(char[] buffer) |
void |
write(char[] buffer,
int off,
int len) |
void |
write(int i) |
void |
write(String string) |
protected final LogService log
public JTextAreaWriter(JTextArea textArea, LogService logService)
public void print(String line)
public void flushQueue()
public void flush()
public void close()
public void shutdown()
public void shutdownNow()
Copyright © 2015–2022 SciJava. All rights reserved.