protected class LogWindow.LogWindowPrintStream
extends java.io.PrintStream
| Modifier and Type | Field and Description |
|---|---|
protected LogWindow |
m_Parent
the parent
|
protected java.lang.String |
m_Style
the style of the printstream
|
| Constructor and Description |
|---|
LogWindowPrintStream(LogWindow parent,
java.io.PrintStream stream,
java.lang.String style)
the constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
flushes the printstream
|
void |
print(boolean x)
prints the given boolean
|
void |
print(int x)
prints the given int
|
void |
print(java.lang.Object x)
prints the given object
|
void |
print(java.lang.String x)
prints the given string
|
void |
println()
prints a new line
|
void |
println(boolean x)
prints the given boolean
|
void |
println(int x)
prints the given int
|
void |
println(java.lang.Object x)
prints the given object (for Throwables we print the stack trace)
|
void |
println(java.lang.String x)
prints the given string
|
protected LogWindow m_Parent
protected java.lang.String m_Style
public LogWindowPrintStream(LogWindow parent, java.io.PrintStream stream, java.lang.String style)
parent - the parent framestream - the stream (used for constructor of superclass)style - the style name associated with this outputpublic void flush()
flush in interface java.io.Flushableflush in class java.io.PrintStreampublic void print(int x)
print in class java.io.PrintStreampublic void print(boolean x)
print in class java.io.PrintStreampublic void print(java.lang.String x)
print in class java.io.PrintStreampublic void print(java.lang.Object x)
print in class java.io.PrintStreampublic void println()
println in class java.io.PrintStreampublic void println(int x)
println in class java.io.PrintStreampublic void println(boolean x)
println in class java.io.PrintStreampublic void println(java.lang.String x)
println in class java.io.PrintStreampublic void println(java.lang.Object x)
println in class java.io.PrintStream