- java.lang.Object
-
- javax.swing.text.LayeredHighlighter.LayerPainter
-
- All Implemented Interfaces:
-
Highlighter.HighlightPainter
- Enclosing class:
- LayeredHighlighter
public abstract static class LayeredHighlighter.LayerPainter extends Object implements Highlighter.HighlightPainter
分层突出显示渲染器。
-
-
构造方法摘要
构造方法 Constructor 描述 LayerPainter()
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 abstract Shape
paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
-
Methods inherited from interface javax.swing.text.Highlighter.HighlightPainter
paint
-
-
-
-
方法详细信息
-
paintLayer
public abstract Shape paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
- 参数
-
g
- 用于绘制的图形 -
p0
- 视图的起始偏移 -
p1
- 结束视图偏移 -
viewBounds
- 界限 -
editor
- JTextComponent -
view
- 正在呈现的视图实例 - 结果
- 一个形状
-
-