# Uses of Interface
org.eclipse.jface.text.IPainter

Packages that use IPainter
Package
Description
org.eclipse.jface.text
Provides a framework for creating and manipulating text documents.
org.eclipse.jface.text.source
Provides a framework for connecting document regions with annotations and for displaying those.

## Uses of IPainter in org.eclipse.jface.text

Classes in org.eclipse.jface.text that implement IPainter
Modifier and Type
Class
Description
`class`
`CursorLinePainter`
A painter the draws the background of the caret line in a configured color.
`class`
`MarginPainter`
Paints a vertical line (margin line) after a given column respecting the text viewer's font.
`class`
`WhitespaceCharacterPainter`
A painter for drawing visible characters for (invisible) whitespace characters.
Methods in org.eclipse.jface.text with parameters of type IPainter
Modifier and Type
Method
Description
`void`
ITextViewerExtension2.`addPainter(IPainter painter)`
Adds the given painter to this viewer.
`void`
PaintManager.`addPainter(IPainter painter)`
Adds the given painter to the list of painters managed by this paint manager.
`void`
TextViewer.`addPainter(IPainter painter)`
Adds the given painter to this viewer.
`void`
ITextViewerExtension2.`removePainter(IPainter painter)`
Removes the given painter from this viewer.
`void`
PaintManager.`removePainter(IPainter painter)`
Removes the given painter from the list of painters managed by this paint manager.
`void`
TextViewer.`removePainter(IPainter painter)`
Removes the given painter from this viewer.

## Uses of IPainter in org.eclipse.jface.text.source

Classes in org.eclipse.jface.text.source that implement IPainter
Modifier and Type
Class
Description
`class`
`AnnotationPainter`
Paints decorations for annotations provided by an annotation model and/or highlights them in the associated source viewer.
`final class`
`MatchingCharacterPainter`
Highlights the peer character matching the character near the caret position, or a pair of peer characters enclosing the caret position.