Subversion Repositories eFlore/Applications.del

Rev

Rev 144 | Rev 186 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
140 aurelien 1
package org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition;
2
 
3
import org.tela_botanica.del.client.utils.MockDatasource;
4
 
172 aurelien 5
import com.google.gwt.user.client.ui.HTML;
140 aurelien 6
import com.google.gwt.user.client.ui.HasWidgets;
7
 
8
public class BarreRepartitionVotePresenteur {
9
 
10
	private BarreRepartitionVoteVue vue = new BarreRepartitionVoteVue();
11
 
12
	private MockDatasource validationService = MockDatasource.getInstance();
13
 
14
	public void go(HasWidgets container) {
15
		container.add(vue);
16
	}
17
 
172 aurelien 18
	public void afficherVotes(int pourcentage, String nomTaxon) {
19
		vue.afficherVotes(pourcentage, nomTaxon);
140 aurelien 20
	}
21
 
22
	public BarreRepartitionVoteVue getBarreRepartitionVoteVue() {
23
		return vue;
24
	}
172 aurelien 25
 
26
	public HTML getBarreRepartitionVoteVueHTML() {
27
		return vue.getBarreRepartitionHtmlBrut();
28
	}
140 aurelien 29
}