Class AbstractColoredConsole

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable
Direct Known Subclasses:
JavaConsoleAdapter, SimpleConsoleAdapter

public abstract class AbstractColoredConsole extends JPopupTextPane
A JTextPane which displays colored strings.
See Also:
  • Constructor Details

    • AbstractColoredConsole

      protected AbstractColoredConsole(String tabName, String placeholder)
      Create a JTextPane which displays colored strings.
      Parameters:
      tabName - Text name of tab
  • Method Details

    • getColorAttribute

      protected abstract SimpleAttributeSet getColorAttribute()
    • append

      public void append(String message, SimpleAttributeSet attribut)
      Add a string to the end of JTextPane.
      Parameters:
      message - Text to add
      attribut - Font
    • getProxy

      JTextPane getProxy()
      Get back the decorated component.
      Returns:
      Proxyfied component