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 |
---|---|
protected void |
BasicView.paintRangeUnderlines(java.awt.Graphics graphics, java.awt.Rectangle clipRect, StyledFragmentsList styledList, HighlightFragmentsList fontHighlightList, int startOffset, int endOffset)
Paints the underline highlights in the editor view that are range-based (where HighlightedText.isLineHighlight() returns false).
|
protected void |
BasicView.paintUnderlines(java.awt.Graphics graphics, java.awt.Rectangle clipRect, StyledFragmentsList styledList, int startRow, int endRow)
Paints the underline highlights in the editor view.
|
protected oracle.javatools.editor.BasicView.PaintResult |
BasicView.paintUnderlineSegment(java.awt.Graphics graphics, java.awt.Rectangle clipRect, StyledFragmentsList styledList, HighlightFragmentsList fontHighlightList, HighlightFragment underlineFragment, int startOffset, int endOffset)
Paints a single range-based underline fragment in the editor view.
|
protected oracle.javatools.editor.BasicView.PaintResult |
BasicView.paintUnderlineSegment(java.awt.Graphics graphics, java.awt.Rectangle clipRect, StyledFragmentsList styledList, HighlightFragmentsList fontHighlightList, HighlightFragmentsList underlineHighlightList, int underlineFragmentIndex, int startOffset, int endOffset)
Paints a single range-based underline fragment in the editor view.
|
Modifier and Type | Method and Description |
---|---|
protected StyledFragmentsList |
AbstractDocumentRenderer.allocateFragmentsList()
Routine available to DocumentRenderer implementations to allocate a fragments list (for reuse) which is not in use.
|
StyledFragmentsList |
DocumentRenderer.renderLines(int startLine, int endLine)
Renders a region of text based on the line information provided.
|
StyledFragmentsList |
AbstractDocumentRenderer.renderLines(int startLine, int endLine)
Renders a region of text based on the line information provided.
|
StyledFragmentsList |
DocumentRenderer2.renderOffets(int startOffset, int endOffset)
Renders a region of text based on the offset information provided.
|
StyledFragmentsList |
AbstractDocumentRenderer.renderOffets(int startOffset, int endOffset) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentRenderer.recycleFragmentsList(StyledFragmentsList fragmentsList)
Recyle the previously gotten StyledFragment's to reduce memory allocations.
|
void |
AbstractDocumentRenderer.recycleFragmentsList(StyledFragmentsList fragmentsList)
Recycle the previously gotten StyledFragment's to reduce memory allocations.
|
void |
LexerBlockRenderer.renderBlock(StyledFragmentsList fragmentsList, int blockStartOffset, int blockEndOffset, int clipStartOffset, int clipEndOffset)
Renders the region of text bounded by the given offsets.
|
void |
BlockRenderer.renderBlock(StyledFragmentsList fragmentsList, int blockStartOffset, int blockEndOffset, int clipStartOffset, int clipEndOffset)
Renders the region of text bounded by the given offsets.
|
void |
LexerDocumentRenderer.renderRegion(StyledFragmentsList fragmentsList, int startOffset, int endOffset)
Renders the region of text bounded by the given offsets.
|
abstract void |
AbstractDocumentRenderer.renderRegion(StyledFragmentsList fragmentsList, int startOffset, int endOffset)
Renders the region of text bounded by the given offsets.
|
protected void |
LexerBlockRenderer.renderToken(StyledFragmentsList fragmentsList, int token, int tokenStart, int tokenEnd, int clipStart, int clipEnd)
Renders the token by mapping the given token to a specific style, and adds it to the styled fragments list.
|