Class ScriptConsole.ConsolePrintWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.PrintWriter
-
- ca.cgjennings.apps.arkham.plugins.ScriptConsole.ConsolePrintWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
- Enclosing class:
- ScriptConsole
public class ScriptConsole.ConsolePrintWriter extends java.io.PrintWriter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
void
insertComponent(java.awt.Component c)
void
insertHTML(java.lang.String html)
void
insertImage(java.awt.Color c)
void
insertImage(java.awt.Image img)
void
insertImage(javax.swing.Icon img)
void
print(java.lang.Object obj)
void
printObj(java.lang.Object obj)
void
queue()
void
write(char[] buf, int off, int len)
void
write(int c)
void
write(java.lang.String s, int off, int len)
-
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, close, format, format, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write
-
-
-
-
Method Detail
-
insertImage
public void insertImage(java.awt.Color c)
-
insertImage
public void insertImage(java.awt.Image img)
-
insertImage
public void insertImage(javax.swing.Icon img)
-
insertComponent
public void insertComponent(java.awt.Component c)
-
insertHTML
public void insertHTML(java.lang.String html)
-
write
public void write(java.lang.String s, int off, int len)
- Overrides:
write
in classjava.io.PrintWriter
-
write
public void write(int c)
- Overrides:
write
in classjava.io.PrintWriter
-
write
public void write(char[] buf, int off, int len)
- Overrides:
write
in classjava.io.PrintWriter
-
print
public void print(java.lang.Object obj)
- Overrides:
print
in classjava.io.PrintWriter
-
printObj
public final void printObj(java.lang.Object obj)
-
flush
public void flush()
- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.PrintWriter
-
queue
public void queue()
-
-