Example usage for Java javax.swing.text Highlighter fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | addHighlight(int p0, int p1, HighlightPainter p) Adds a highlight to the view. |
Highlight[] | getHighlights() Fetches the current list of highlights. |
void | removeAllHighlights() Removes all highlights this highlighter is responsible for. |
void | removeHighlight(Object tag) Removes a highlight from the view. |