analyzer
Class DollarTechniqueAnalyzer

java.lang.Object
  extended byanalyzer.Analyzer
      extended byanalyzer.DollarTechniqueAnalyzer

public class DollarTechniqueAnalyzer
extends Analyzer

Defines the analyzer for the $100 technique

Author:
Mikael Jönsson & Per Klingnäs

Field Summary
 
Fields inherited from class analyzer.Analyzer
canvasHeight, canvasWidth, maxValue, pointList, relativeSupportLines, rList, selectedPoint
 
Constructor Summary
DollarTechniqueAnalyzer(RequirementList rList, int canvasWidth, int canvasHeight)
          Constructs a $100 analyzer
 
Method Summary
 void drawRelativeSupportLines(java.awt.Graphics g, int canvasWidth, int canvasHeight)
          Draws relative support lines in the GraphWindow.
 void drawSupportLines(java.awt.Graphics g, int canvasWidth, int canvasHeight)
          Draws support lines in the GraphWindow.
 
Methods inherited from class analyzer.Analyzer
createPoints, getAllPointsAt, getSelectedPointsRequirement, highlightPoint, selectPoint, setCanvasSize, setReleaseNbrs, toggleRelativeSupportLines
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DollarTechniqueAnalyzer

public DollarTechniqueAnalyzer(RequirementList rList,
                               int canvasWidth,
                               int canvasHeight)
Constructs a $100 analyzer

Parameters:
rList - list of Requirements to be analyzed
canvasWidth - the width of the drawing area
canvasHeight - the height of the drawing area
Method Detail

drawSupportLines

public void drawSupportLines(java.awt.Graphics g,
                             int canvasWidth,
                             int canvasHeight)
Draws support lines in the GraphWindow.

Overrides:
drawSupportLines in class Analyzer
Parameters:
g - the Graphics that will be drawn
canvasWidth - the width of the drawing area
canvasHeight - the height of the drawing area

drawRelativeSupportLines

public void drawRelativeSupportLines(java.awt.Graphics g,
                                     int canvasWidth,
                                     int canvasHeight)
Draws relative support lines in the GraphWindow.

Overrides:
drawRelativeSupportLines in class Analyzer
Parameters:
g - the Graphics that will be drawn
canvasWidth - the width of the drawing area
canvasHeight - the height of the drawing area