FileDocCategorySizeDatePackage
LayeredHighlighter.javaAPI DocJava SE 5 API1299Fri Aug 26 14:58:16 BST 2005javax.swing.text

LayeredHighlighter

public abstract class LayeredHighlighter extends Object implements Highlighter
author
Scott Violet
author
Timothy Prinzing
version
1.7 12/19/03
see
Highlighter

Fields Summary
Constructors Summary
Methods Summary
public abstract voidpaintLayeredHighlights(java.awt.Graphics g, int p0, int p1, java.awt.Shape viewBounds, javax.swing.text.JTextComponent editor, javax.swing.text.View view)
When leaf Views (such as LabelView) are rendering they should call into this method. If a highlight is in the given region it will be drawn immediately.

param
g Graphics used to draw
param
p0 starting offset of view
param
p1 ending offset of view
param
viewBounds Bounds of View
param
editor JTextComponent
param
view View instance being rendered