API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. DefaultHighlighter.DefaultHighlightPainter View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      LayeredHighlighter.LayerPainter
          DefaultHighlighter.DefaultHighlightPainter
Implements
Subclasses
Description
publicstatic class DefaultHighlighter.DefaultHighlightPainter
Simple highlight painter that fills a highlighted area with a solid color.
See also:   
Constructors
public DefaultHighlighter.DefaultHighlightPainter (Color c)
  Constructs a new highlight painter.
Methods
Hide/Show inherited methods
public Color getColor ()
  Returns the color of the highlight.
public void paint (Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c)
  Paints a highlight.
public Shape paintLayer (Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view) [Specified in LayeredHighlighter.LayerPainter]
  Paints a portion of a highlight.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar