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.language |
The Language package is a subset of the Editor package, and is the framework for extending the editor with color syntax highlighting, brace matching, and other language or content-specific editing features.
|
Modifier and Type | Method and Description |
---|---|
DocumentRenderer |
BasicDocument.getDocumentRenderer()
Fetches the document renderer from the language support for this document.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentRenderer2
The
DocumentRenderer2 interface extends DocumentRenderer interface with routine to render document using text offsets. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocumentRenderer
An
AbstractDocumentRenderer is the base class for all DocumentRenderers provided with this editor component. |
class |
LexerDocumentRenderer
An
LexerDocumentRenderer is the abstact starting point for DocumentRenderers implementations based on languages that have Lexer implementations available for tokenizing the language. |
Modifier and Type | Method and Description |
---|---|
protected abstract DocumentRenderer |
AbstractLanguageSupport.createDocumentRenderer()
Creates the
DocumentRenderer for rendering the given document. |
DocumentRenderer |
LanguageSupport.getDocumentRenderer()
Fetches the
DocumentRenderer for rendering the given document. |
DocumentRenderer |
AbstractLanguageSupport.getDocumentRenderer()
Fetches the
DocumentRenderer for rendering the given document. |