[Java] Class ConsoleSupport
- groovy.console.ui.ConsoleSupport
public abstract class ConsoleSupport
Base class for console
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected void |
addStylesToDocument(JTextPane outputArea) | |
protected Object |
evaluate(String text) | |
public Style |
getCommandStyle() | |
public Style |
getOutputStyle() | |
public Style |
getPromptStyle() | |
public GroovyShell |
getShell() | |
protected abstract void |
handleException(String text, Exception e) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
protected void addStylesToDocument(JTextPane outputArea)
protected Object evaluate(String text)
public Style getCommandStyle()
public Style getOutputStyle()
public Style getPromptStyle()
public GroovyShell getShell()
protected abstract void handleException(String text, Exception e)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/console/ui/ConsoleSupport.html