Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1006 Rev 1041
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.event.dom.client.ClickHandler;
4
import com.google.gwt.event.dom.client.ClickHandler;
5
import com.google.gwt.uibinder.client.UiBinder;
5
import com.google.gwt.uibinder.client.UiBinder;
6
import com.google.gwt.uibinder.client.UiField;
6
import com.google.gwt.uibinder.client.UiField;
7
import com.google.gwt.user.client.ui.Composite;
7
import com.google.gwt.user.client.ui.Composite;
-
 
8
import com.google.gwt.user.client.ui.HTML;
8
import com.google.gwt.user.client.ui.Image;
9
import com.google.gwt.user.client.ui.Image;
9
import com.google.gwt.user.client.ui.Panel;
10
import com.google.gwt.user.client.ui.Panel;
10
import com.google.gwt.user.client.ui.Widget;
11
import com.google.gwt.user.client.ui.Widget;
Line 11... Line 12...
11
 
12
 
Line 20... Line 21...
20
	@UiField
21
	@UiField
21
	protected Image photoPrincipale;
22
	protected Image photoPrincipale;
Line 22... Line 23...
22
 
23
 
23
	@UiField
24
	@UiField
-
 
25
	protected Panel photos;
-
 
26
	
Line 24... Line 27...
24
	protected Panel photos;
27
	protected HTML lienPlateforme=new HTML("Suite des images>>>");
25
 
28
 
26
 
29
 
Line 41... Line 44...
41
		photo.setTitle(imageCourante.getUrlFormat("L"));
44
		photo.setTitle(imageCourante.getUrlFormat("L"));
42
		photo.setAltText("");
45
		photo.setAltText("");
43
		photo.addClickHandler(gestionnaireClic);
46
		photo.addClickHandler(gestionnaireClic);
44
		getPhotos().add(photo);
47
		getPhotos().add(photo);
45
	}
48
	}
-
 
49
	
-
 
50
	public void afficherLienPlateformeValidation(){
-
 
51
		getPhotos().add(lienPlateforme);
-
 
52
	}
Line 46... Line 53...
46
 
53
 
47
	public void setUrlImagePrincipale(String url) {
54
	public void setUrlImagePrincipale(String url) {
48
		photoPrincipale.setUrl(url);
55
		photoPrincipale.setUrl(url);
Line 74... Line 81...
74
 
81
 
75
	public Panel getPhotos() {
82
	public Panel getPhotos() {
76
		return photos;
83
		return photos;
Line -... Line 84...
-
 
84
	}
-
 
85
 
-
 
86
	public HTML getLienPlateforme() {
-
 
87
		return lienPlateforme;
77
	}
88
	}