javax.swing.text
Class DefaultHighlighter
public
class
DefaultHighlighter
extends LayeredHighlighter
The default highlight for Swing text components. It highlights text
by filling the background with a rectangle.
public DefaultHighlighter()
public void changeHighlight(Object tag, int n0, int n1)
public boolean getDrawsLayeredHighlights()
public void paint(Graphics g)
public void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds,
JTextComponent editor,
View view)
public void removeAllHighlights()
public void removeHighlight(Object tag)
public void setDrawsLayeredHighlights(boolean newValue)