Package groovy.console.ui
Class ConsoleSupport
- java.lang.Object
-
- groovy.console.ui.ConsoleSupport
-
public abstract class ConsoleSupport extends Object
Base 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(JTextPane outputArea)protected Objectevaluate(String text)StylegetCommandStyle()StylegetOutputStyle()StylegetPromptStyle()GroovyShellgetShell()protected abstract voidhandleException(String text, Exception e)
-
-
-
Method Detail
-
addStylesToDocument
protected void addStylesToDocument(JTextPane outputArea)
-
getCommandStyle
public Style getCommandStyle()
-
getOutputStyle
public Style getOutputStyle()
-
getPromptStyle
public Style getPromptStyle()
-
getShell
public GroovyShell getShell()
-
-