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 |
---|---|
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 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 |
---|---|
void |
HighlightLayer.renderHighlights(HighlightFragmentsList fragmentsList, int startOffset, int endOffset)
This routine is used by the editor view to obtain all of the highlights in this highlight layer in the given offset range.
|
void |
HighlightLayer.renderHighlights(HighlightFragmentsList fragmentsList, int fetchPolicy, int startOffset, int endOffset)
This routine is used by the editor view to obtain all of the highlights in this highlight layer in the given offset range.
|