See: Description
Interface | Description |
---|---|
UnderlinePainter |
The
UnderlinePainter defines an interface for painting
an underline or separator. |
Class | Description |
---|---|
DottedLinePainter |
The
DottedLinePainter is an implementation of the
which paints a straight,
but dotted underline or separator of a given thickness. |
HighlightedLine |
A
HighlightedLine object represents a line of text that
has a HighlightStyle applied to it. |
HighlightedText |
A
HighlightedText object represents a segment of text
that has a HighlightStyle applied to it. |
HighlightFragment |
A
HighlightFragment is a fragment describing highlight
information for rendering highlights. |
HighlightFragmentsList |
A
HighlightFragmentsList is a list of HighlightFragment
instances that we can re-use without constantly having to reallocate
arrays and fragment objects. |
HighlightLayer |
A
HighlightedLayer is a container for highlights added
to an editor pane. |
HighlightRegistry |
A
HighlightRegistry is a registry of all known highlight styles used
for background highlighting. |
HighlightStyle |
The
HighlightStyle class defines a set of foreground
and background color attributes used for painting highlights for a
segment of text. |
SimpleLinePainter |
The
SimpleLinePainter is an implementation of the
which paints a straight
underline or separator of a given thickness. |
ZigZagLinePainter |
The
ZigZagLinePainter is an implementation of the
which paints a zigzag underline
or separator of a given thickness.. |
For more information about creating highlights styles, refer to the
HighlightRegistry
class. Note that the central
HighlightRegistry
instance is registered with the
singleton EditorProperties
instance.
For more information about apply highlights to regions of text in an
editor, refer to the HighlightLayer
JavaDoc.