Subversion Repositories eFlore/Applications.del

Rev

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

Rev 576 Rev 577
Line 1... Line 1...
1
package org.tela_botanica.del.client.composants.images;
1
package org.tela_botanica.del.client.composants.images;
Line -... Line 2...
-
 
2
 
2
 
3
import org.tela_botanica.del.client.i18n.I18n;
3
import com.google.gwt.core.client.GWT;
4
import com.google.gwt.core.client.GWT;
4
import com.google.gwt.event.dom.client.LoadEvent;
5
import com.google.gwt.event.dom.client.LoadEvent;
5
import com.google.gwt.event.dom.client.LoadHandler;
6
import com.google.gwt.event.dom.client.LoadHandler;
6
import com.google.gwt.uibinder.client.UiBinder;
7
import com.google.gwt.uibinder.client.UiBinder;
Line 37... Line 38...
37
	}
38
	}
Line 38... Line 39...
38
 
39
 
39
	public void chargerImage(org.tela_botanica.del.client.modeles.Image imageCourante) {
40
	public void chargerImage(org.tela_botanica.del.client.modeles.Image imageCourante) {
40
		setUrlImage(imageCourante.getUrlFormat("L"));
41
		setUrlImage(imageCourante.getUrlFormat("L"));
41
		setTitle(imageCourante.getUrlFormat("L"));
42
		setTitle(imageCourante.getUrlFormat("L"));
42
		setTexteAlternatif("<strong>" + imageCourante.getObservation().getNomRetenu() + " par " + imageCourante.getObservation().getAuteur() + "</strong><br />"
43
		setTexteAlternatif("<strong>" + imageCourante.getObservation().getNomRetenu() + " "  + I18n.getVocabulary().par() + " " + imageCourante.getObservation().getAuteur() + "</strong><br />"
43
				+ "PubliƩe le " + imageCourante.getObservation().getDateReleve() + " - " + imageCourante.getObservation().getLocaliteAvecIdFormatee());
44
				+ I18n.getVocabulary().publiee() + " "+ imageCourante.getObservation().getDateReleve() + " - " + imageCourante.getObservation().getLocaliteAvecIdFormatee());
Line 44... Line 45...
44
	}
45
	}
45
 
46
 
46
	public void setUrlImage(String urlImage) {
47
	public void setUrlImage(String urlImage) {