public class OutputConsole extends OutputStream
| Constructor and Description |
|---|
OutputConsole(String title)
Constructs a new instance of OutputConsole.
|
OutputConsole(String title,
String logFile)
Constructs a new instance of OutputConsole, logging all output to the given
log file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOutputListener(OutputListener l) |
JTextArea |
getTextArea() |
JFrame |
getWindow() |
void |
notifyListeners(OutputEvent e) |
void |
removeAllOutputListeners() |
void |
removeOutputListener(OutputListener l) |
void |
setVisible(boolean visible) |
void |
show() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, writepublic OutputConsole(String title)
public void show()
public void setVisible(boolean visible)
public JFrame getWindow()
public JTextArea getTextArea()
public void addOutputListener(OutputListener l)
public void removeOutputListener(OutputListener l)
public void removeAllOutputListeners()
public void notifyListeners(OutputEvent e)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2015–2022 SciJava. All rights reserved.