软件包 | 描述 |
---|---|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Class and Description |
---|---|
static class |
DefaultHighlighter.DefaultHighlightPainter
简单的突出的画家,填充一个突出的区域与一个坚实的颜色。
|
static class |
LayeredHighlighter.LayerPainter
分层突出渲染。
|
Modifier and Type | Method and Description |
---|---|
Highlighter.HighlightPainter |
Highlighter.Highlight.getPainter()
获取用于荧光笔的画家。
|
protected Highlighter.HighlightPainter |
DefaultCaret.getSelectionPainter()
获取用于荧光笔的画家。
|
Modifier and Type | Method and Description |
---|---|
Object |
DefaultHighlighter.addHighlight(int p0, int p1, Highlighter.HighlightPainter p)
在视图中添加一个高亮。
|
Object |
Highlighter.addHighlight(int p0, int p1, Highlighter.HighlightPainter p)
在视图中添加一个高亮。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.