Methods Summary |
---|
public boolean | getShowScore()
return showScore;
|
public int | getTotal()
return total;
|
public double | getVote1Score()
return (int) Math.round(((double) vote1 / (double) total) * 100);
|
public double | getVote2Score()
return (int) Math.round(((double) vote2 / (double) total) * 100);
|
public double | getVote3Score()
return (int) Math.round(((double) vote3 / (double) total) * 100);
|
public java.lang.String | vote1()
vote1++;
total++;
showScore = true;
return null;
|
public java.lang.String | vote2()
vote2++;
total++;
showScore = true;
return null;
|
public java.lang.String | vote3()
vote3++;
total++;
showScore = true;
return null;
|