JIDE 3.5.15

com.jidesoft.editor.margin
Class AbstractMarginPainter

java.lang.Object
  extended by com.jidesoft.margin.AbstractMarginPainter
      extended by com.jidesoft.editor.margin.AbstractMarginPainter
All Implemented Interfaces:
MarginPainter

public abstract class AbstractMarginPainter
extends AbstractMarginPainter

An abstract implementation of MarginPainter interface. It implements the AbstractMarginPainter.getLayer() method so that you can use AbstractMarginPainter.setLayer(int) to set the layer index. You still need to implement the other method paintMargin.


Field Summary
 
Fields inherited from interface com.jidesoft.margin.MarginPainter
LAYER_DEFAULT_INDEX
 
Constructor Summary
protected AbstractMarginPainter()
          Creates an AbstractMarginPainter.
protected AbstractMarginPainter(int layer)
          Create an AbstractMarginPainter.
 
Method Summary
 
Methods inherited from class com.jidesoft.margin.AbstractMarginPainter
getLayer, setLayer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jidesoft.margin.MarginPainter
paintMargin
 

Constructor Detail

AbstractMarginPainter

protected AbstractMarginPainter()
Creates an AbstractMarginPainter. It has a layer index of 0 by default.


AbstractMarginPainter

protected AbstractMarginPainter(int layer)
Create an AbstractMarginPainter.

Parameters:
layer -

JIDE 3.5.15