public interface Highlighter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Highlighter.Highlight |
static interface |
Highlighter.HighlightPainter |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
addHighlight(int p0,
int p1,
Highlighter.HighlightPainter p) |
void |
changeHighlight(java.lang.Object tag,
int p0,
int p1) |
void |
deinstall(JTextComponent c) |
Highlighter.Highlight[] |
getHighlights() |
void |
install(JTextComponent c) |
void |
paint(java.awt.Graphics g) |
void |
removeAllHighlights() |
void |
removeHighlight(java.lang.Object tag) |
void install(JTextComponent c)
void deinstall(JTextComponent c)
java.lang.Object addHighlight(int p0, int p1, Highlighter.HighlightPainter p) throws BadLocationException
BadLocationExceptionvoid removeAllHighlights()
void removeHighlight(java.lang.Object tag)
void changeHighlight(java.lang.Object tag, int p0, int p1) throws BadLocationException
BadLocationExceptionHighlighter.Highlight[] getHighlights()
void paint(java.awt.Graphics g)