Subversion Repositories eFlore/Applications.del

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
148 benjamin 1
package org.tela_botanica.del.client.vues.rechercheimages.detail;
9 benjamin 2
 
3
import org.tela_botanica.del.client.modeles.Observation;
4
 
5
import com.google.gwt.user.client.ui.Composite;
6
import com.google.gwt.user.client.ui.HTML;
7
import com.google.gwt.user.client.ui.Panel;
8
import com.google.gwt.user.client.ui.VerticalPanel;
9
 
14 benjamin 10
public class ObservationDetailVue extends Composite {
9 benjamin 11
 
12
	private final Panel mainPanel = new VerticalPanel();
13
 
14 benjamin 14
	protected ObservationDetailVue() {
9 benjamin 15
		initWidget(mainPanel);
16
	}
17
 
18
	protected void loadDetails(Observation observation) {
19
		mainPanel.add(new HTML("Observateur:" + observation.getAuteur()));
36 gduche 20
		mainPanel.add(new HTML("Nom retenu:" + observation.getNomRetenu()));
9 benjamin 21
		mainPanel.add(new HTML("Date: " + observation.getDate()));
22
		mainPanel.add(new HTML("Famille: " + observation.getFamille()));
23
		mainPanel.add(new HTML("Localite " + observation.getLocalite()));
24
	}
25
 
26
	public Panel getMainPanel() {
27
		return mainPanel;
28
	}
29
 
30
}