sources
Class RectBinner

java.lang.Object
  extended bysources.DensityEstimator
      extended bysources.RectBinner

public class RectBinner
extends DensityEstimator

A class that is responsible for creating and drawing rectangular binning


Field Summary
 
Fields inherited from class sources.DensityEstimator
binmod, COLORED, dat, EASY_BINNING, GROWING, LINEAR_BINNING, maxalpha, modus, punktgr, sizex, sizey, SUNFLOWERS
 
Constructor Summary
RectBinner(LDataSet data, int punktgr2, int maxal, int mod1)
          Creates new RectBinner
 
Method Summary
 void createRects(int width, int height, boolean onlySelected, int[] x, int[] y)
          prepare the Binning
 void paintDensity(java.awt.Graphics g, java.awt.Rectangle vsRect)
          paint the density
 
Methods inherited from class sources.DensityEstimator
getBinning, getPointPainter, paintFlower, setAlpha, setBinning, setPointPainter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RectBinner

public RectBinner(LDataSet data,
                  int punktgr2,
                  int maxal,
                  int mod1)
Creates new RectBinner

Method Detail

paintDensity

public void paintDensity(java.awt.Graphics g,
                         java.awt.Rectangle vsRect)
Description copied from class: DensityEstimator
paint the density

Specified by:
paintDensity in class DensityEstimator
Parameters:
g - the Graphics to paint on
vsRect - the visible Rectangle

createRects

public void createRects(int width,
                        int height,
                        boolean onlySelected,
                        int[] x,
                        int[] y)
Description copied from class: DensityEstimator
prepare the Binning

Specified by:
createRects in class DensityEstimator
Parameters:
width - the width of the picture
height - the height of the picture
onlySelected - true, if only the selected values has changed
x - x values
y - y values