-
- Enclosing interface:
- Highlighter
public static interface Highlighter.HighlightPainter突出显示渲染器。
-
-
方法详细信息
-
paint
void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
呈现突出显示。- 参数
-
g- 图形上下文 -
p0- 模型中的起始偏移量> = 0 -
p1- 模型中的结束偏移量> = p0 -
bounds- 突出显示的边界框 -
c- 编辑
-
-