Constructor and Description |
---|
Console.ShellState(Shell shell) |
Modifier and Type | Method and Description |
---|---|
void |
commandDone()
Call when the command finishes executing.
|
javax.swing.text.Document |
getDocument() |
int |
getInputStart()
Return InputStart position inside of document.
|
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 |
setInputStart(int cmdStart)
Setup InputStart position inside of document.
|
void |
writeAttrs(javax.swing.text.AttributeSet attrs,
java.lang.String msg)
Prints a string of text with the specified color, without the
terminating newline.
|
public Console.ShellState(Shell shell)
public javax.swing.text.Document getDocument()
public int getInputStart()
public void setInputStart(int cmdStart)
public void print(java.awt.Color color, java.lang.String msg)
Output
public void writeAttrs(javax.swing.text.AttributeSet attrs, java.lang.String msg)
Output
writeAttrs
in interface Output
attrs
- Character attributesmsg
- The messagepublic void setAttrs(int length, javax.swing.text.AttributeSet attrs)
Output
public void commandDone()
Output
commandDone
in interface Output