Highlighter interface to mark up the
background of leaf views with colored areas.
Highlighter
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | LayeredHighlighter.
Layered highlight renderer. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | paintLayeredHighlights(Graphics
Graphics used to draw g, int starting offset of view p0, int ending offset of view p1, Shape Bounds of View viewBounds, JTextComponent JTextComponent editor, View View instance being rendered view)When leaf Views (such as LabelView) are rendering they should call into this method. |
| LayeredHighlighter | back to summary |
|---|---|
| protected LayeredHighlighter() Constructor for subclasses to call. | |
| paintLayeredHighlights | back to summary |
|---|---|
| public abstract void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, 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.
| |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Shape | Returns: a shapeGraphics used to draw g, int starting offset of view p0, int ending offset of view p1, Shape Bounds of View viewBounds, JTextComponent JTextComponent editor, View View instance being rendered view)Paints a portion of a highlight. |
| LayerPainter | back to summary |
|---|---|
| protected LayerPainter() Constructor for subclasses to call. | |
| paintLayer | back to summary |
|---|---|
| public abstract Shape paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) Paints a portion of a highlight.
| |