|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
ctf.view.Console
public class Console
A console that we can send text (eg, System.out) to.
| Nested Class Summary | |
|---|---|
protected class |
Console.ConsoleFrame
The frame that will contain the text area |
| Field Summary | |
|---|---|
protected javax.swing.JTextArea |
text
Where the messages actually get logged |
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Constructor Summary | |
|---|---|
Console()
|
|
Console(java.lang.String title)
|
|
| Method Summary | |
|---|---|
void |
setExitOnClose(boolean exitOnClose)
Should the application exit when the Console frame closes? |
void |
write(byte[] data)
|
void |
write(byte[] data,
int offset,
int length)
|
| Methods inherited from class java.io.PrintStream |
|---|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.swing.JTextArea text
| Constructor Detail |
|---|
public Console()
public Console(java.lang.String title)
| Method Detail |
|---|
public void write(byte[] data)
write in class java.io.FilterOutputStream
public void write(byte[] data,
int offset,
int length)
write in class java.io.PrintStreampublic void setExitOnClose(boolean exitOnClose)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||