Subversion Repositories eFlore/Applications.del

Rev

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

Rev Author Line No. Line
161 gduche 1
package org.tela_botanica.del.client.vues.rechercheobservations;
2
 
3
import com.google.gwt.core.client.GWT;
309 aurelien 4
import com.google.gwt.event.dom.client.HasClickHandlers;
5
import com.google.gwt.event.dom.client.HasKeyPressHandlers;
161 gduche 6
import com.google.gwt.uibinder.client.UiBinder;
7
import com.google.gwt.uibinder.client.UiField;
8
import com.google.gwt.user.client.ui.Button;
9
import com.google.gwt.user.client.ui.Composite;
309 aurelien 10
import com.google.gwt.user.client.ui.HasText;
11
import com.google.gwt.user.client.ui.HasVisibility;
12
import com.google.gwt.user.client.ui.HasWidgets;
161 gduche 13
import com.google.gwt.user.client.ui.Label;
14
import com.google.gwt.user.client.ui.Panel;
15
import com.google.gwt.user.client.ui.TextBox;
16
import com.google.gwt.user.client.ui.Widget;
17
 
309 aurelien 18
public class RechercheObservationsVue extends Composite implements RechercheObservationsPresenteur.Vue {
161 gduche 19
 
20
	// Gestion d'UiBinder
21
	interface Binder extends UiBinder<Widget, RechercheObservationsVue> {
22
	}
23
 
24
	private static Binder binder = GWT.create(Binder.class);
25
 
26
	// Définir ici les champs de la vue à afficher en protected
27
	@UiField
28
	protected TextBox recherchePrincipale, departement, commune, taxon, famille, genre, tag, motCle, auteur, date;
29
 
30
	@UiField
31
	protected Button boutonRecherche, boutonRechercheAvancee;
32
 
309 aurelien 33
	public TextBox getRecherchePrincipale() {
34
		return recherchePrincipale;
35
	}
36
 
37
	public TextBox getDepartement() {
38
		return departement;
39
	}
40
 
41
	public TextBox getCommune() {
42
		return commune;
43
	}
44
 
45
	public TextBox getTaxon() {
46
		return taxon;
47
	}
48
 
49
	public TextBox getFamille() {
50
		return famille;
51
	}
52
 
53
	public TextBox getGenre() {
54
		return genre;
55
	}
56
 
57
	public TextBox getTag() {
58
		return tag;
59
	}
60
 
61
	public TextBox getMotCle() {
62
		return motCle;
63
	}
64
 
65
	public TextBox getAuteur() {
66
		return auteur;
67
	}
68
 
69
	public TextBox getDate() {
70
		return date;
71
	}
72
 
73
	public Button getBoutonRecherche() {
74
		return boutonRecherche;
75
	}
76
 
77
	public Button getBoutonRechercheAvancee() {
78
		return boutonRechercheAvancee;
79
	}
80
 
81
	public Label getLienRechercheAvancee() {
82
		return lienRechercheAvancee;
83
	}
84
 
85
	public Label getRecherchePrecedente() {
86
		return recherchePrecedente;
87
	}
88
 
89
	public Panel getRechercheAvancee() {
90
		return rechercheAvancee;
91
	}
92
 
93
	public Panel getZoneObservations() {
94
		return zoneObservations;
95
	}
96
 
97
	public Panel getZonePagination() {
98
		return zonePagination;
99
	}
100
 
161 gduche 101
	@UiField
102
	protected Label lienRechercheAvancee, recherchePrecedente;
103
 
104
	@UiField
207 gduche 105
	protected Panel rechercheAvancee, zoneObservations, zonePagination;
161 gduche 106
 
107
	// Constructeur de la vue
108
	public RechercheObservationsVue() {
109
		initWidget(binder.createAndBindUi(this));
110
		rechercheAvancee.setVisible(false);
111
	}
112
 
309 aurelien 113
	@Override
114
	public HasClickHandlers getRecherchePrincipaleHasClickHandler() {
115
		return recherchePrincipale;
116
	}
117
 
118
	@Override
119
	public HasKeyPressHandlers getRecherchePrincipaleHasKeyPressHandlers() {
120
		return recherchePrincipale;
121
	}
122
 
123
	@Override
124
	public HasText getRecherchePrincipaleHasText() {
125
		return recherchePrincipale;
126
	}
127
 
128
	@Override
129
	public HasWidgets getRechercheAvanceeHasWidget() {
130
		return rechercheAvancee;
131
	}
132
 
133
	@Override
134
	public HasVisibility getRechercheAvanceeHasVisibility() {
135
		return rechercheAvancee;
136
	}
137
 
161 gduche 138
}