javax.swing.text

Interface Highlighter

public interface Highlighter

Nested Class Summary
static interfaceHighlighter.Highlight
static interfaceHighlighter.HighlightPainter
Method Summary
ObjectaddHighlight(int p0, int p1, Highlighter.HighlightPainter p)
voidchangeHighlight(Object tag, int p0, int p1)
voiddeinstall(JTextComponent c)
Highlighter.Highlight[]getHighlights()
voidinstall(JTextComponent c)
voidpaint(Graphics g)
voidremoveAllHighlights()
voidremoveHighlight(Object tag)

Method Detail

addHighlight

public Object addHighlight(int p0, int p1, Highlighter.HighlightPainter p)

changeHighlight

public void changeHighlight(Object tag, int p0, int p1)

deinstall

public void deinstall(JTextComponent c)

getHighlights

public Highlighter.Highlight[] getHighlights()

install

public void install(JTextComponent c)

paint

public void paint(Graphics g)

removeAllHighlights

public void removeAllHighlights()

removeHighlight

public void removeHighlight(Object tag)