Subversion Repositories eFlore/Applications.del

Rev

Rev 1005 | Rev 1050 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1005 Rev 1026
Line 29... Line 29...
29
		public void setVoteOuiEffectue();
29
		public void setVoteOuiEffectue();
30
		public void setVoteNonEffectue();
30
		public void setVoteNonEffectue();
31
		public void afficherVotePrisEnCompte(boolean b);
31
		public void afficherVotePrisEnCompte(boolean b);
32
		public void afficherVoteModifie(boolean b);
32
		public void afficherVoteModifie(boolean b);
33
		public void toggleNomEspece();
33
		public void toggleNomEspece();
-
 
34
		public void setPourcentage(int pourcentage);
34
	}
35
	}
Line 35... Line 36...
35
 
36
 
36
	private Vue vue;
37
	private Vue vue;
Line 52... Line 53...
52
	public void afficherVotes(MoyenneVote moyenneVote) {
53
	public void afficherVotes(MoyenneVote moyenneVote) {
53
		this.moyenneVote = moyenneVote;
54
		this.moyenneVote = moyenneVote;
54
		int score = moyenneVote.getScore();
55
		int score = moyenneVote.getScore();
55
		String intitule = moyenneVote.getIntituleAssocie();
56
		String intitule = moyenneVote.getIntituleAssocie();
56
		vue.afficherVotes(score, intitule);
57
		vue.afficherVotes(score, intitule);
-
 
58
		if (score > 0) {
-
 
59
			vue.setPourcentage(score);
-
 
60
		}
57
		afficherValeurVoteUtilisateur();
61
		afficherValeurVoteUtilisateur();
58
	}
62
	}
Line 59... Line 63...
59
	
63
	
60
	public void afficherValeurVoteUtilisateur() {
64
	public void afficherValeurVoteUtilisateur() {