- java.lang.Object
- java.io.OutputStream
- java.io.FilterOutputStream
- java.io.PrintStream
- com.anylogic.engine.gui.ConsoleItemPrintStream
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
@AnyLogicInternalAPI public class ConsoleItemPrintStream extends PrintStream
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
Modifier and Type | Method | Description |
---|---|---|
PrintStream | append | |
PrintStream | append | |
PrintStream | append | |
boolean | checkError() | |
void | close() | |
void | flush() | |
PrintStream | format | |
PrintStream | format | |
static Color | getColorAndSet |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | print | |
void | print | |
void | print | |
void | print | |
void | print | |
void | print | |
void | print | |
void | print | |
void | print | |
PrintStream | printf | |
PrintStream | printf | |
void | println() | |
void | println | |
void | println | |
void | println | |
void | println | |
void | println | |
void | println | |
void | println | |
void | println | |
void | println | |
void | setColor | |
static void | setColor |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | write | |
void | write | |
void | write |
@AnyLogicInternalAPI public static void setColor(PrintStream out, Color color)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
@AnyLogicInternalAPI public static Color getColorAndSet(PrintStream out, Color color)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
public void setColor(Color color)
public void flush()
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classPrintStream
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPrintStream
public boolean checkError()
- Overrides:
checkError
in classPrintStream
public void write(int b)
- Overrides:
write
in classPrintStream
public void write(byte[] buf, int off, int len)
- Overrides:
write
in classPrintStream
public void print(boolean b)
- Overrides:
print
in classPrintStream
public void print(char c)
- Overrides:
print
in classPrintStream
public void print(int i)
- Overrides:
print
in classPrintStream
public void print(long l)
- Overrides:
print
in classPrintStream
public void print(float f)
- Overrides:
print
in classPrintStream
public void print(double d)
- Overrides:
print
in classPrintStream
public void print(char[] s)
- Overrides:
print
in classPrintStream
public void print(String s)
- Overrides:
print
in classPrintStream
public void print(Object obj)
- Overrides:
print
in classPrintStream
public void println()
- Overrides:
println
in classPrintStream
public void println(boolean x)
- Overrides:
println
in classPrintStream
public void println(char x)
- Overrides:
println
in classPrintStream
public void println(int x)
- Overrides:
println
in classPrintStream
public void println(long x)
- Overrides:
println
in classPrintStream
public void println(float x)
- Overrides:
println
in classPrintStream
public void println(double x)
- Overrides:
println
in classPrintStream
public void println(char[] x)
- Overrides:
println
in classPrintStream
public void println(String x)
- Overrides:
println
in classPrintStream
public void println(Object x)
- Overrides:
println
in classPrintStream
public PrintStream printf(String format, Object... args)
- Overrides:
printf
in classPrintStream
public PrintStream printf(Locale l, String format, Object... args)
- Overrides:
printf
in classPrintStream
public PrintStream format(String format, Object... args)
- Overrides:
format
in classPrintStream
public PrintStream format(Locale l, String format, Object... args)
- Overrides:
format
in classPrintStream
public PrintStream append(CharSequence csq)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintStream
public PrintStream append(CharSequence csq, int start, int end)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintStream
public PrintStream append(char c)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintStream
public void write(byte[] b) throws IOException
- Overrides:
write
in classPrintStream
- Throws:
IOException