public interface Output
| Modifier and Type | Method and Description |
|---|---|
void |
commandDone()
Call when the command finishes executing.
|
void |
print(java.awt.Color color,
java.lang.String msg)
Prints a line of text with the specified color.
|
void |
setAttrs(int length,
javax.swing.text.AttributeSet attrs)
Changes the attributes of the given text selection to those specified.
|
void |
writeAttrs(javax.swing.text.AttributeSet attrs,
java.lang.String msg)
Prints a string of text with the specified color, without the
terminating newline.
|
void print(java.awt.Color color,
java.lang.String msg)
color - The color. If null, the default color will be usedmsg - The messagevoid writeAttrs(javax.swing.text.AttributeSet attrs,
java.lang.String msg)
attrs - Character attributesmsg - The messagevoid setAttrs(int length,
javax.swing.text.AttributeSet attrs)
length - length of the textattrs - The new attributesvoid commandDone()