javax.swing.text

Class DefaultHighlighter.DefaultHighlightPainter

public static class DefaultHighlighter.DefaultHighlightPainter extends LayerPainter

Constructor Summary
DefaultHighlightPainter(Color c)
Method Summary
ColorgetColor()
voidpaint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t)
ShapepaintLayer(Graphics g, int p0, int p1, Shape bounds, JTextComponent c, View view)

Constructor Detail

DefaultHighlightPainter

public DefaultHighlightPainter(Color c)

Method Detail

getColor

public Color getColor()

paint

public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t)

paintLayer

public Shape paintLayer(Graphics g, int p0, int p1, Shape bounds, JTextComponent c, View view)