Package groovy.ui
Class ConsoleSupport
- java.lang.Object
-
- groovy.ui.ConsoleSupport
-
public abstract class ConsoleSupport extends java.lang.ObjectBase class for console
-
-
Constructor Summary
Constructors Constructor Description ConsoleSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddStylesToDocument(javax.swing.JTextPane outputArea)protected java.lang.Objectevaluate(java.lang.String text)javax.swing.text.StylegetCommandStyle()javax.swing.text.StylegetOutputStyle()javax.swing.text.StylegetPromptStyle()GroovyShellgetShell()protected abstract voidhandleException(java.lang.String text, java.lang.Exception e)
-
-
-
Method Detail
-
addStylesToDocument
protected void addStylesToDocument(javax.swing.JTextPane outputArea)
-
getCommandStyle
public javax.swing.text.Style getCommandStyle()
-
getOutputStyle
public javax.swing.text.Style getOutputStyle()
-
getPromptStyle
public javax.swing.text.Style getPromptStyle()
-
getShell
public GroovyShell getShell()
-
evaluate
protected java.lang.Object evaluate(java.lang.String text)
-
handleException
protected abstract void handleException(java.lang.String text, java.lang.Exception e)
-
-