Package groovy.ui

Class ConsoleSupport


  • public abstract class ConsoleSupport
    extends Object
    Base class for console
    • Constructor Detail

      • ConsoleSupport

        public ConsoleSupport()
    • Method Detail

      • addStylesToDocument

        protected void addStylesToDocument​(JTextPane outputArea)
      • getCommandStyle

        public Style getCommandStyle()
      • getOutputStyle

        public Style getOutputStyle()
      • getPromptStyle

        public Style getPromptStyle()
      • handleException

        protected abstract void handleException​(String text,
                                                Exception e)