public static interface Highlighter.HighlightPainter
呈现高亮显示。
| 方法摘要 | |
|---|---|
void |
paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c) 呈现高亮显示。 |
| 方法详细信息 |
|---|
void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
g - 图形上下文
p0 - 模型中的初始偏移量,该值 >= 0
p1 - 模型中的结束偏移量,该值 >= p0
bounds - 高亮显示的边界框
c - 编辑器