Package groovy.console.ui
Class ConsoleSupport
java.lang.Object
groovy.console.ui.ConsoleSupport
public abstract class ConsoleSupport
extends java.lang.Object
Base class for console
- 
Constructor SummaryConstructors Constructor Description ConsoleSupport()
- 
Method SummaryModifier 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)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
ConsoleSupportpublic ConsoleSupport()
 
- 
- 
Method Details- 
addStylesToDocumentprotected void addStylesToDocument(javax.swing.JTextPane outputArea)
- 
getCommandStylepublic javax.swing.text.Style getCommandStyle()
- 
getOutputStylepublic javax.swing.text.Style getOutputStyle()
- 
getPromptStylepublic javax.swing.text.Style getPromptStyle()
- 
getShell
- 
evaluateprotected java.lang.Object evaluate(java.lang.String text)
- 
handleExceptionprotected abstract void handleException(java.lang.String text, java.lang.Exception e)
 
-