org.openscience.jmol.app
class ConsoleTextPane extends JTextPane
| Field Summary | |
|---|---|
| boolean | checking |
| ConsoleDocument | consoleDoc |
| EnterListener | enterListener |
| JmolViewer | viewer |
| Constructor Summary | |
|---|---|
| ConsoleTextPane(ScriptWindow scriptWindow) | |
| Method Summary | |
|---|---|
| void | appendNewline() |
| void | checkCommand() |
| void | clearContent() |
| void | clearContent(String text) |
| void | enterPressed() |
| String | getCommandString() |
| void | outputEcho(String strEcho) |
| void | outputError(String strError) |
| void | outputErrorForeground(String strError) |
| void | outputStatus(String strStatus) |
| protected void | processKeyEvent(KeyEvent ke)
Custom key event processing for command 0 implementation.
|
| void | recallCommand(boolean up)
Recall command history.
|
| void | setPrompt() |
See Also: java.awt.Component#processKeyEvent(java.awt.event.KeyEvent)
Parameters: up - history up or down