sources
Class RectBinner
java.lang.Object
sources.DensityEstimator
sources.RectBinner
- public class RectBinner
- extends DensityEstimator
A class that is responsible for creating and drawing
rectangular binning
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RectBinner
public RectBinner(LDataSet data,
int punktgr2,
int maxal,
int mod1)
- Creates new RectBinner
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 onvsRect
- 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 pictureheight
- the height of the pictureonlySelected
- true, if only the selected values has changedx
- x valuesy
- y values