Subversion Repositories eFlore/Applications.del

Rev

Rev 308 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 308 Rev 316
Line 8... Line 8...
8
public class DetailImagePresenteur extends Presenteur {
8
public class DetailImagePresenteur extends Presenteur {
Line 9... Line 9...
9
 
9
 
10
	public abstract interface Vue extends IsWidget {
10
	public abstract interface Vue extends IsWidget {
11
		public abstract void setUrlImage(String urlImage);
11
		public abstract void setUrlImage(String urlImage);
-
 
12
		public abstract void setTexteAlternatif(String texteAlternatif);
12
		public abstract void setTexteAlternatif(String texteAlternatif);
13
		public abstract void chargerImage(IsWidget image);
Line 13... Line 14...
13
	}
14
	}
14
	
15
	
15
	public Vue vue;
16
	public Vue vue;
16
	public DetailImagePresenteur(String urlImage, String texteAlternatif, Vue vue) {
17
	public DetailImagePresenteur(IsWidget photo, Vue vue) {
17
		vue = this.vue;
-
 
18
		vue.setUrlImage(urlImage);
18
		this.vue = vue;
Line 19... Line 19...
19
		vue.setTexteAlternatif(texteAlternatif);
19
		this.vue.chargerImage(photo);
20
	}
20
	}
21
 
21
 
22
	@Override
22
	@Override
Line 23... Line 23...
23
	public void go(HasWidgets composite) {
23
	public void go(HasWidgets composite) {
24
		composite.add(vue.asWidget());
24
		composite.add(vue.asWidget());
25
	}
25
	}
26
 
-
 
27
	@Override
26
 
Line 28... Line 27...
28
	protected void gererEvenements() {
27
	@Override