public abstract class LayeredHighlighter extends Object implements Highlighter
Highlighter
Modifier and Type | Class and Description |
---|---|
static class |
LayeredHighlighter.LayerPainter
分层突出渲染。
|
Highlighter.Highlight, Highlighter.HighlightPainter
Constructor and Description |
---|
LayeredHighlighter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
当叶子视图(如labelview)绘制他们应该调用这个方法。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHighlight, changeHighlight, deinstall, getHighlights, install, paint, removeAllHighlights, removeHighlight
public abstract void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
g
-用于绘制图形
p0
-起始偏移角度
p1
结束偏移角度
viewBounds
-界的观点
editor
- JTextComponent
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, 2014, Oracle and/or its affiliates. All rights reserved.