Rev 210 | Blame | Last modification | View Log | RSS feed
package org.tela_botanica.del.client.vues.rechercheobservations;import com.google.gwt.core.client.GWT;import com.google.gwt.event.dom.client.HasClickHandlers;import com.google.gwt.event.dom.client.HasKeyPressHandlers;import com.google.gwt.uibinder.client.UiBinder;import com.google.gwt.uibinder.client.UiField;import com.google.gwt.user.client.ui.Button;import com.google.gwt.user.client.ui.Composite;import com.google.gwt.user.client.ui.HasText;import com.google.gwt.user.client.ui.HasVisibility;import com.google.gwt.user.client.ui.HasWidgets;import com.google.gwt.user.client.ui.Label;import com.google.gwt.user.client.ui.Panel;import com.google.gwt.user.client.ui.TextBox;import com.google.gwt.user.client.ui.Widget;public class RechercheObservationsVue extends Composite implements RechercheObservationsPresenteur.Vue {// Gestion d'UiBinderinterface Binder extends UiBinder<Widget, RechercheObservationsVue> {}private static Binder binder = GWT.create(Binder.class);// Définir ici les champs de la vue à afficher en protected@UiFieldprotected TextBox recherchePrincipale, departement, commune, taxon, famille, genre, tag, motCle, auteur, date;@UiFieldprotected Button boutonRecherche, boutonRechercheAvancee;public TextBox getRecherchePrincipale() {return recherchePrincipale;}public TextBox getDepartement() {return departement;}public TextBox getCommune() {return commune;}public TextBox getTaxon() {return taxon;}public TextBox getFamille() {return famille;}public TextBox getGenre() {return genre;}public TextBox getTag() {return tag;}public TextBox getMotCle() {return motCle;}public TextBox getAuteur() {return auteur;}public TextBox getDate() {return date;}public Button getBoutonRecherche() {return boutonRecherche;}public Button getBoutonRechercheAvancee() {return boutonRechercheAvancee;}public Label getLienRechercheAvancee() {return lienRechercheAvancee;}public Label getRecherchePrecedente() {return recherchePrecedente;}public Panel getRechercheAvancee() {return rechercheAvancee;}public Panel getZoneObservations() {return zoneObservations;}public Panel getZonePagination() {return zonePagination;}@UiFieldprotected Label lienRechercheAvancee, recherchePrecedente;@UiFieldprotected Panel rechercheAvancee, zoneObservations, zonePagination;// Constructeur de la vuepublic RechercheObservationsVue() {initWidget(binder.createAndBindUi(this));rechercheAvancee.setVisible(false);}@Overridepublic HasClickHandlers getRecherchePrincipaleHasClickHandler() {return recherchePrincipale;}@Overridepublic HasKeyPressHandlers getRecherchePrincipaleHasKeyPressHandlers() {return recherchePrincipale;}@Overridepublic HasText getRecherchePrincipaleHasText() {return recherchePrincipale;}@Overridepublic HasWidgets getRechercheAvanceeHasWidget() {return rechercheAvancee;}@Overridepublic HasVisibility getRechercheAvanceeHasVisibility() {return rechercheAvancee;}}