303 |
aurelien |
1 |
package org.tela_botanica.del.client.vues.plateformedetermination.formulairecommentaire;
|
|
|
2 |
|
|
|
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;
|
|
|
7 |
import com.google.gwt.user.client.ui.Composite;
|
|
|
8 |
import com.google.gwt.user.client.ui.TextArea;
|
|
|
9 |
import com.google.gwt.user.client.ui.TextBox;
|
|
|
10 |
import com.google.gwt.user.client.ui.Widget;
|
|
|
11 |
|
|
|
12 |
public class FormulaireCommentaireVue extends Composite implements FormulaireCommentairePresenteur.Vue {
|
|
|
13 |
|
|
|
14 |
@UiField(provided = true)
|
|
|
15 |
public TextBox nomPrenom = new TextBox();
|
|
|
16 |
|
|
|
17 |
@UiField(provided = true)
|
|
|
18 |
public TextArea commentaire = new TextArea();
|
|
|
19 |
|
|
|
20 |
@UiField(provided = true)
|
|
|
21 |
public Button boutonValidationCommentaire = new Button();
|
|
|
22 |
|
|
|
23 |
interface FormulairePropositionUIiBinder extends UiBinder<Widget, FormulaireCommentaireVue> {
|
|
|
24 |
};
|
|
|
25 |
|
|
|
26 |
FormulairePropositionUIiBinder uiBinder = GWT.create(FormulairePropositionUIiBinder.class);
|
|
|
27 |
|
|
|
28 |
public FormulaireCommentaireVue() {
|
|
|
29 |
initWidget(uiBinder.createAndBindUi(this));
|
|
|
30 |
}
|
|
|
31 |
|
|
|
32 |
@Override
|
|
|
33 |
public TextBox getNomPrenom() {
|
|
|
34 |
return nomPrenom;
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
@Override
|
|
|
38 |
public TextArea getCommentaire() {
|
|
|
39 |
return commentaire;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
@Override
|
|
|
43 |
public Button getBoutonValidationCommentaire() {
|
|
|
44 |
return boutonValidationCommentaire;
|
|
|
45 |
}
|
|
|
46 |
}
|