public abstract class ConsoleSupport
extends java.lang.Object
Constructor and Description |
---|
ConsoleSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
addStylesToDocument(javax.swing.JTextPane outputArea) |
protected java.lang.Object |
evaluate(java.lang.String text) |
javax.swing.text.Style |
getCommandStyle() |
javax.swing.text.Style |
getOutputStyle() |
javax.swing.text.Style |
getPromptStyle() |
GroovyShell |
getShell() |
protected abstract void |
handleException(java.lang.String text,
java.lang.Exception e) |
protected void addStylesToDocument(javax.swing.JTextPane outputArea)
public javax.swing.text.Style getCommandStyle()
public javax.swing.text.Style getOutputStyle()
public javax.swing.text.Style getPromptStyle()
public GroovyShell getShell()
protected java.lang.Object evaluate(java.lang.String text)
protected abstract void handleException(java.lang.String text, java.lang.Exception e)