|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanalyzer.Analyzer
analyzer.PlanningGameAnalyzer
Defines the analyzer for the Planning Game technique
Field Summary | |
private boolean |
invertedSupportLines
|
Fields inherited from class analyzer.Analyzer |
canvasHeight, canvasWidth, maxValue, pointList, relativeSupportLines, rList, selectedPoint |
Constructor Summary | |
PlanningGameAnalyzer(RequirementList rList,
int canvasWidth,
int canvasHeight)
Constructs a Planning Game analyzer |
Method Summary | |
java.util.LinkedList |
createPoints()
Checks which kind of boxes that are going to be drawn. |
private java.util.LinkedList |
createPointsEqualDist()
Creates and assigns the positions of all the requirements to be drawn in the GraphWindow. |
private java.util.LinkedList |
createPointsSquareBoxes()
Creates and assigns the positions of all the requirements to be drawn in the GraphWindow. |
void |
drawRelativeSupportLines(java.awt.Graphics g,
int canvasWidth,
int canvasHeight)
Draws relative support lines (squares) in the GraphWindow. |
void |
drawSupportLines(java.awt.Graphics g,
int canvasWidth,
int canvasHeight)
Draws support lines in the GraphWindow. |
void |
invertSupportLines()
|
Methods inherited from class analyzer.Analyzer |
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 |
Field Detail |
private boolean invertedSupportLines
Constructor Detail |
public PlanningGameAnalyzer(RequirementList rList, int canvasWidth, int canvasHeight)
rList
- list of Requirements to be analyzedcanvasWidth
- the width of the drawing areacanvasHeight
- the height of the drawing areaMethod Detail |
public java.util.LinkedList createPoints()
createPoints
in class Analyzer
private java.util.LinkedList createPointsEqualDist()
private java.util.LinkedList createPointsSquareBoxes()
public void drawSupportLines(java.awt.Graphics g, int canvasWidth, int canvasHeight)
drawSupportLines
in class Analyzer
g
- the Graphics that will be drawncanvasWidth
- the width of the drawing areacanvasHeight
- the height of the drawing areapublic void drawRelativeSupportLines(java.awt.Graphics g, int canvasWidth, int canvasHeight)
drawRelativeSupportLines
in class Analyzer
g
- the Graphics that will be drawncanvasWidth
- the width of the drawing areacanvasHeight
- the height of the drawing areapublic void invertSupportLines()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |