Extension SDK 10.1.2

Package oracle.javatools.editor.highlight

The Highlights package is a subset of the Editor package, and contains API's for creating, maintaining, and applying colored background highlights to regions of text in an editor pane.

See:
          Description

Class Summary
HighlightedFragment A HighlightedFragment is used for associating a HighlightStyle with a segment of text.
HighlightedFragmentsList A HighlightedFragmentsList is just a list of HighlightedFragments that we can re-use without having to constantly reallocate arrays and HighlightedFragment objects.
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.
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.
 

Package oracle.javatools.editor.highlight Description

The Highlights package is a subset of the Editor package, and contains API's for creating, maintaining, and applying colored background highlights to regions of text in an editor pane.

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.


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.