org.biojava.spice.manypanel.renderer
Class HistogramPainter

java.lang.Object
  extended byorg.biojava.spice.manypanel.renderer.HistogramPainter

public class HistogramPainter
extends Object


Constructor Summary
HistogramPainter(CoordManager cm, float scale, int chainLength)
           
 
Method Summary
protected  void drawHistogramFeature(HistogramFeature feature, int featurePos, int drawHeight, Graphics g, int y, Color c1, Color c2, String histogramType)
           
 int getChainLength()
           
 float getScale()
           
 void setChainLength(int chainLength)
           
 void setScale(float scale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistogramPainter

public HistogramPainter(CoordManager cm,
                        float scale,
                        int chainLength)
Method Detail

getChainLength

public int getChainLength()

setChainLength

public void setChainLength(int chainLength)

getScale

public float getScale()

setScale

public void setScale(float scale)

drawHistogramFeature

protected void drawHistogramFeature(HistogramFeature feature,
                                    int featurePos,
                                    int drawHeight,
                                    Graphics g,
                                    int y,
                                    Color c1,
                                    Color c2,
                                    String histogramType)