org.openide.awt
Class HtmlRenderer

java.lang.Object
  extended byorg.openide.awt.HtmlRenderer

public final class HtmlRenderer
extends Object

A generic cell renderer class which implements a lightweight html renderer supporting a minimal subset of HTML used for markup purposes only - basic font styles, colors, etc. Also supports named logical colors specified by a preceding ! character for specifying colors that should be looked up in the current look and feel's UIDefaults (e.g. <font color=&!textText&>).

If you only need to paint some HTML quickly, use the static methods for painting - renderString, renderPlainString or renderHtml. These methods differ as follows: