apollo.gui
Class SgrScoreCalculator

java.lang.Object
  extended by apollo.gui.ScoreCalculator
      extended by apollo.gui.WindowScoreCalculator
          extended by apollo.gui.StoredScoreCalculator
              extended by apollo.gui.SgrScoreCalculator

public class SgrScoreCalculator
extends StoredScoreCalculator

Gets the score for a given position from a sgr file

Author:
elee

Field Summary
protected static org.apache.log4j.Logger logger
           
 
Fields inherited from class apollo.gui.StoredScoreCalculator
maxScore, minScore, scoreMap
 
Fields inherited from class apollo.gui.ScoreCalculator
factor
 
Constructor Summary
SgrScoreCalculator(java.lang.String data, int winSize, CurationSet curation)
          Builds a SgrScoreCalculator object
 
Method Summary
 
Methods inherited from class apollo.gui.StoredScoreCalculator
getMaxScore, getMinScore, getScoreForPosition, getScoresForPositions, getXRange, getYRange
 
Methods inherited from class apollo.gui.WindowScoreCalculator
getModel, getWindowExtents, getWinSize, hasModel, setWinSize
 
Methods inherited from class apollo.gui.ScoreCalculator
getFactor, setXOrientation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

SgrScoreCalculator

public SgrScoreCalculator(java.lang.String data,
                          int winSize,
                          CurationSet curation)
                   throws java.io.IOException
Builds a SgrScoreCalculator object

Parameters:
data - - name of file containing sgr data
winSize - - size of display window
Throws:
java.io.IOException - - if the file cannot be accessed