Package | Description |
---|---|
oracle.javatools.editor |
The
Editor package is a basic framework for an editor component with syntax highlighting capabilities, built on top of the Swing text framework. |
oracle.javatools.editor.highlight |
The Highlights package is a subset of the Editor package, and contains API's for creating, maintaining, and applying background, foreground, font, and underline highlights to regions of text in an editor pane.
|
Modifier and Type | Method and Description |
---|---|
HighlightRegistry |
EditorProperties.getHighlightRegistry()
Fetch the global highlight registry used for all editor panes.
|
HighlightRegistry |
BasicEditorPane.getHighlightRegistry()
Fetch the global highlight registry used for all editor panes.
|
Modifier and Type | Method and Description |
---|---|
void |
EditorProperties.setHighlightRegistry(HighlightRegistry registry)
Replace the global highlight registry used for all editor panes.
|
void |
BasicEditorPane.setHighlightRegistry(HighlightRegistry registry)
Replace the global highlight registry used for all editor panes.
|
Modifier and Type | Method and Description |
---|---|
void |
HighlightFragmentsList.setHighlightRegistry(HighlightRegistry registry)
Set the
HighlightRegistry used by this list when building up its list of highlight fragments. |