Package | Description |
---|---|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Class and Description |
---|---|
static class |
DefaultHighlighter.DefaultHighlightPainter
Simple highlight painter that fills a highlighted area with
a solid color.
|
static class |
LayeredHighlighter.LayerPainter
Layered highlight renderer.
|
Modifier and Type | Method and Description |
---|---|
Highlighter.HighlightPainter |
Highlighter.Highlight.getPainter()
Gets the painter for the highlighter.
|
protected Highlighter.HighlightPainter |
DefaultCaret.getSelectionPainter()
Gets the painter for the Highlighter.
|
Modifier and Type | Method and Description |
---|---|
Object |
DefaultHighlighter.addHighlight(int p0,
int p1,
Highlighter.HighlightPainter p)
Adds a highlight to the view.
|
Object |
Highlighter.addHighlight(int p0,
int p1,
Highlighter.HighlightPainter p)
Adds a highlight to the view.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.