public interface BasicEditorPainter
Register a painter with a BasicEditorPainter via BasicEditorPainter.registerPainter(BasicEditorPainter) and perform the custom drawing in the paint method.
|Modifier and Type||Method and Description|
Priority determines the order in which painters will be called to do their painting in the editor.
Perform custom painting into an editor
void paint(java.awt.Graphics g, BasicEditorPane editor)
Painting will occur from lower to higher priority (so that higher priority painters can paint over the top of lower priority painters).
The text of the editor is painted at priority position zero, so that sub zero priority painters paint behind the text, and positive priority painters paint on top.