Subversion Repositories eFlore/Applications.del

Rev

Rev 148 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
148 benjamin 1
package org.tela_botanica.del.client.vues.rechercheimages;
9 benjamin 2
 
124 gduche 3
import com.google.gwt.core.client.GWT;
4
import com.google.gwt.uibinder.client.UiBinder;
5
import com.google.gwt.uibinder.client.UiField;
6
import com.google.gwt.user.client.ui.Button;
9 benjamin 7
import com.google.gwt.user.client.ui.Composite;
8
import com.google.gwt.user.client.ui.FlowPanel;
178 benjamin 9
import com.google.gwt.user.client.ui.Label;
10
import com.google.gwt.user.client.ui.ListBox;
9 benjamin 11
import com.google.gwt.user.client.ui.Panel;
12
import com.google.gwt.user.client.ui.TextBox;
13
import com.google.gwt.user.client.ui.VerticalPanel;
124 gduche 14
import com.google.gwt.user.client.ui.Widget;
9 benjamin 15
 
178 benjamin 16
public class RechercheImageVue extends Composite {
9 benjamin 17
 
18
	private final VerticalPanel mainPanel = new VerticalPanel();
26 gduche 19
	private final Panel panneauChargement = new FlowPanel();
9 benjamin 20
 
124 gduche 21
	// Annotation can be used to change the name of the associated xml file
22
	// @UiTemplate("ObservationRechercheVue.ui.xml")
178 benjamin 23
	interface MyUiBinder extends UiBinder<Widget, RechercheImageVue> {
124 gduche 24
	}
9 benjamin 25
 
124 gduche 26
	private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
9 benjamin 27
 
124 gduche 28
	@UiField
29
	TextBox nomEspece;
9 benjamin 30
 
124 gduche 31
	@UiField
178 benjamin 32
	Panel panneauProtocole, panneauResultats;
9 benjamin 33
 
124 gduche 34
	@UiField
35
	Button boutonChercher;
9 benjamin 36
 
124 gduche 37
	@UiField
178 benjamin 38
	Label protocoleLabel;
26 gduche 39
 
178 benjamin 40
	@UiField
41
	ListBox listeProtocoles;
42
 
124 gduche 43
	// Constructeur
178 benjamin 44
	protected RechercheImageVue() {
26 gduche 45
 
124 gduche 46
		initWidget(uiBinder.createAndBindUi(this));
47
		nomEspece.setFocus(true);
9 benjamin 48
 
26 gduche 49
	}
50
 
178 benjamin 51
	public Panel getPanneauChargement() {
52
		return panneauChargement;
9 benjamin 53
	}
54
 
178 benjamin 55
	public TextBox getTextBox() {
56
		return nomEspece;
9 benjamin 57
	}
58
 
178 benjamin 59
	public Panel getPanel() {
60
		return mainPanel;
26 gduche 61
	}
62
 
178 benjamin 63
	public Button getBoutonChercher() {
64
		return boutonChercher;
26 gduche 65
	}
66
 
178 benjamin 67
	public ListBox getListeProtocoles() {
68
		return listeProtocoles;
26 gduche 69
	}
70
 
178 benjamin 71
	public void setListeProtocoles(ListBox listeProtocoles) {
72
		this.listeProtocoles = listeProtocoles;
9 benjamin 73
	}
74
 
178 benjamin 75
	public Label getProtocoleLabel() {
76
		return protocoleLabel;
9 benjamin 77
	}
78
 
178 benjamin 79
	public void setProtocoleLabel(Label protocoleLabel) {
80
		this.protocoleLabel = protocoleLabel;
9 benjamin 81
	}
82
 
178 benjamin 83
	public Panel getPanneauResultats() {
84
		return panneauResultats;
9 benjamin 85
	}
86
 
178 benjamin 87
	public void setPanneauResultats(Panel panneauResultats) {
88
		this.panneauResultats = panneauResultats;
9 benjamin 89
	}
90
}