Subversion Repositories eFlore/Applications.del

Rev

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

Rev 272 Rev 276
Line 3... Line 3...
3
import com.google.gwt.core.client.GWT;
3
import com.google.gwt.core.client.GWT;
4
import com.google.gwt.uibinder.client.UiBinder;
4
import com.google.gwt.uibinder.client.UiBinder;
5
import com.google.gwt.uibinder.client.UiField;
5
import com.google.gwt.uibinder.client.UiField;
6
import com.google.gwt.user.client.ui.Composite;
6
import com.google.gwt.user.client.ui.Composite;
7
import com.google.gwt.user.client.ui.HTML;
7
import com.google.gwt.user.client.ui.HTML;
8
import com.google.gwt.user.client.ui.IsWidget;
-
 
9
import com.google.gwt.user.client.ui.PushButton;
8
import com.google.gwt.user.client.ui.PushButton;
10
import com.google.gwt.user.client.ui.Widget;
9
import com.google.gwt.user.client.ui.Widget;
Line 11... Line 10...
11
 
10
 
Line 12... Line 11...
12
public class BarreRepartitionVoteVue extends Composite implements IsWidget {
11
public class BarreRepartitionVoteVue extends Composite implements BarreRepartitionVotePresenteur.Vue {
Line 13... Line 12...
13
	
12
	
Line 34... Line 33...
34
		initWidget(uiBinder.createAndBindUi(this));
33
		initWidget(uiBinder.createAndBindUi(this));
35
		boutonNon.setWidth("20px");
34
		boutonNon.setWidth("20px");
36
		boutonOui.setWidth("20px");
35
		boutonOui.setWidth("20px");
37
	}
36
	}
Line -... Line 37...
-
 
37
	
-
 
38
	/* (non-Javadoc)
-
 
39
	 * @see org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition.BarreRepartitionVoteVueInterface#afficherVotes(int, java.lang.String)
-
 
40
	 */
38
	
41
	@Override
Line 39... Line 42...
39
	public void afficherVotes(int pourcentage, String NomTaxon) {
42
	public void afficherVotes(int pourcentage, String NomTaxon) {
40
		
43
		
Line 55... Line 58...
55
							"<span class=\"nomTaxonBarreRepartition\">"+nomTaxon+"</span>"+
58
							"<span class=\"nomTaxonBarreRepartition\">"+nomTaxon+"</span>"+
56
							"</div>";
59
							"</div>";
57
		barreRepartitionHtmlBrut.setHTML(chaineHtml);
60
		barreRepartitionHtmlBrut.setHTML(chaineHtml);
58
	}
61
	}
Line -... Line 62...
-
 
62
	
59
	
63
	@Override
60
	public HTML getBarreRepartitionHtmlBrut() {
64
	public HTML getBarreRepartitionHtmlBrut() {
61
		return barreRepartitionHtmlBrut;
65
		return barreRepartitionHtmlBrut;
Line -... Line 66...
-
 
66
	}
62
	}
67
	
63
	
68
	@Override
64
	public PushButton getBoutonOui() {
69
	public PushButton getBoutonOui() {
Line -... Line 70...
-
 
70
		return boutonOui;
65
		return boutonOui;
71
	}
66
	}
72
	
67
	
73
	@Override
-
 
74
	public PushButton getBoutonNon() {
-
 
75
		return boutonNon;
-
 
76
	}
-
 
77
 
-
 
78
	@Override
-
 
79
	public void setVoteOuiEffectue() {
-
 
80
		getBoutonOui().setEnabled(false);
-
 
81
		getBoutonNon().setEnabled(true);
-
 
82
	}
-
 
83
 
-
 
84
	@Override
-
 
85
	public void setVoteNonEffectue() {
68
	public PushButton getBoutonNon() {
86
		getBoutonOui().setEnabled(true);