com.jidesoft.editor.margin
Class AbstractLineMarginPainter
java.lang.Object
com.jidesoft.margin.AbstractRowMarginPainter
com.jidesoft.editor.margin.AbstractLineMarginPainter
- All Implemented Interfaces:
- LineMarginPainter, RowMarginPainter
public abstract class AbstractLineMarginPainter
- extends AbstractRowMarginPainter
- implements LineMarginPainter
An abstract implementation of LineMarginPainter
interface. It implements the AbstractRowMarginPainter.getLayer()
method
so that you can use AbstractRowMarginPainter.setLayer(int)
to set the layer index. You still need to implement the other method
paintLineMargin
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLineMarginPainter
protected AbstractLineMarginPainter()
AbstractLineMarginPainter
protected AbstractLineMarginPainter(int layer)
paintLineMargin
public void paintLineMargin(Graphics g,
CodeEditor editor,
Rectangle rect,
int line)
- Description copied from interface:
LineMarginPainter
- Paints the margin.
- Specified by:
paintLineMargin
in interface LineMarginPainter
- Parameters:
g
- the graphicseditor
- The Code Editorrect
- the rectline
- the line index.