groovy / 4.0 / groovy / console / ui / consolesupport.html

[Java] Class ConsoleSupport

  • groovy.console.ui.ConsoleSupport
public abstract class ConsoleSupport
extends Object

Base class for console

Methods Summary

Methods
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

Inherited Methods
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-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/groovy/console/ui/ConsoleSupport.html