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