groovy.ui
Class ConsoleSupport
java.lang.Object
groovy.ui.ConsoleSupport
- public abstract class ConsoleSupport
- extends java.lang.Object
Base class for console
- Version:
- $Revision: 1.3 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleSupport
public ConsoleSupport()
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)
Copyright © 2003-2004 The Codehaus. All Rights Reserved.