public static interface Highlighter.HighlightPainter
void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
g
-图形上下文
p0
在模型> = 0的起始偏移
p1
-结束偏移在模型> = P0
bounds
的包围盒的亮点
c
-编辑
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.