public abstract class Histogram extends AbstractGraph
Modifier and Type | Field and Description |
---|---|
(package private) GradeScheme |
tempGradeScheme
GradeScheme used to project how a particular adjustment will propagate.
|
numScores, sections
Constructor and Description |
---|
Histogram() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
adjustCurve(LetterGrade letterGrade,
Percentage newLowerBound)
Given a particular letter grade and new lowerbound, this method will apply them to the temporary GradeScheme.
|
(package private) abstract void |
apply()
Changes made via the GUI manipulations will be pushed over to the full model.
|
categorizeScores
GradeScheme tempGradeScheme
abstract void adjustCurve(LetterGrade letterGrade, Percentage newLowerBound)
letterGrade
- The LetterGrade that has been changednewLowerBound
- The new Percentage that denotes the LetterGrade's new lower bound.
post: //The LetterGrade and Percentage have been properly applied to the tempGradeScheme and no other changes have been made forall (DivisionBar divisionBar; tempGradeScheme'.divisions.contains(divisionBar) iff (divisionBar.letterGrade.equals(letterGrade) && divisionBar.low.equals(newLowerBound)) || tempGradeScheme.divisions.contains(divisionBar));
abstract void apply()