databionics.esom.renderer.foreground
Class OpinionBestmatchRenderer

java.lang.Object
  extended by databionics.esom.renderer.foreground.ForegroundRenderer
      extended by databionics.esom.renderer.foreground.BestmatchRenderer
          extended by databionics.esom.renderer.foreground.OpinionBestmatchRenderer

public class OpinionBestmatchRenderer
extends BestmatchRenderer

Render bestmatches in opinion color.


Field Summary
protected static org.apache.log4j.Logger log
          interface to log4j system
protected  cern.colt.matrix.DoubleMatrix1D max
           
protected  cern.colt.matrix.DoubleMatrix1D min
           
 
Fields inherited from class databionics.esom.renderer.foreground.BestmatchRenderer
bmSize, circle, g
 
Fields inherited from class databionics.esom.renderer.foreground.ForegroundRenderer
favoriteColor, foregroundTool, RENDER_MASK, RENDER_POSTTILE, RENDER_PRETILE, renderer
 
Constructor Summary
OpinionBestmatchRenderer()
          Standard constructor
 
Method Summary
protected  java.awt.Color getColor(int index)
          Calculate opinion color
 int getRndLayer()
          The rendering layer
 void render(Renderer renderer)
          Uses super class for actual rendering, but calculates a columnwise-normalized matrix, which is neede for calls to this.getColor(i,);
 
Methods inherited from class databionics.esom.renderer.foreground.BestmatchRenderer
drawBestmatch, getBmSize, getRndPosition, isBold, isCircle, setBmSize, setCircle
 
Methods inherited from class databionics.esom.renderer.foreground.ForegroundRenderer
getFavoriteColor, getForegroundTool, getName, getRenderer, init, setFavoriteColor, setForegroundTool, setRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
interface to log4j system


max

protected cern.colt.matrix.DoubleMatrix1D max

min

protected cern.colt.matrix.DoubleMatrix1D min
Constructor Detail

OpinionBestmatchRenderer

public OpinionBestmatchRenderer()
Standard constructor

Method Detail

getColor

protected java.awt.Color getColor(int index)
Calculate opinion color

Overrides:
getColor in class BestmatchRenderer
Parameters:
index - of bestmatch
Returns:
favorite color, can be overridden in subclasses

render

public void render(Renderer renderer)
Uses super class for actual rendering, but calculates a columnwise-normalized matrix, which is neede for calls to this.getColor(i,);

Overrides:
render in class BestmatchRenderer
Parameters:
renderer - The invoking Renderer

getRndLayer

public int getRndLayer()
The rendering layer

Overrides:
getRndLayer in class BestmatchRenderer
Returns:
12
See Also:
ForegroundRenderer.getRndLayer()


Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.