grader.PieChart
Class PieChart

java.lang.Object
  extended by grader.PieChart.PieChart

public class PieChart
extends java.lang.Object

Generic JavaDoc for PieChart


Field Summary
protected  java.util.Collection<PieSector> piesector
           
 
Constructor Summary
PieChart()
          Default Constructor
 
Method Summary
protected  PieChart createPieChart(GradeScale gradescale)
          Creates the piechart from gradescale when the gradescale functionality is first called
protected  GradeScale modifyPieChart(Class gs, GradeScale newclass)
          Modifies the displayed piechart, histogram, gradetable and the gradescale given the modified piechart.
protected  Class savePieChart(Class gs, GradeScale newclass)
          Saves the modified gradescale given the modified piechart.
protected  int sumOfPercentageInSector(PieChart piechart, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

piesector

protected java.util.Collection<PieSector> piesector
Constructor Detail

PieChart

public PieChart()
Default Constructor

Method Detail

createPieChart

protected PieChart createPieChart(GradeScale gradescale)
Creates the piechart from gradescale when the gradescale functionality is first called


modifyPieChart

protected GradeScale modifyPieChart(Class gs,
                                    GradeScale newclass)
Modifies the displayed piechart, histogram, gradetable and the gradescale given the modified piechart.


savePieChart

protected Class savePieChart(Class gs,
                             GradeScale newclass)
Saves the modified gradescale given the modified piechart.


sumOfPercentageInSector

protected int sumOfPercentageInSector(PieChart piechart,
                                      int index)