1151 |
aurelien |
1 |
package org.tela_botanica.del.client.composants.motsclesimages.formulairesaisiemotclesimages;
|
|
|
2 |
|
|
|
3 |
import com.google.gwt.core.client.GWT;
|
|
|
4 |
import com.google.gwt.event.dom.client.HasClickHandlers;
|
|
|
5 |
import com.google.gwt.event.dom.client.HasKeyPressHandlers;
|
|
|
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;
|
|
|
10 |
import com.google.gwt.user.client.ui.HasText;
|
|
|
11 |
import com.google.gwt.user.client.ui.TextBox;
|
|
|
12 |
import com.google.gwt.user.client.ui.Widget;
|
|
|
13 |
|
|
|
14 |
public class FormulaireSaisieMotsClesImageVue extends Composite implements FormulaireSaisieMotsClesImagePresenteur.Vue {
|
|
|
15 |
|
|
|
16 |
@UiField
|
|
|
17 |
public TextBox saisieMotsCles;
|
|
|
18 |
|
|
|
19 |
@UiField
|
|
|
20 |
public Button valider;
|
|
|
21 |
|
|
|
22 |
interface MyUiBinder extends UiBinder<Widget, FormulaireSaisieMotsClesImageVue> {
|
|
|
23 |
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
|
|
|
27 |
|
|
|
28 |
public FormulaireSaisieMotsClesImageVue() {
|
|
|
29 |
// sets listBox
|
|
|
30 |
initWidget(uiBinder.createAndBindUi(this));
|
|
|
31 |
}
|
|
|
32 |
|
|
|
33 |
@Override
|
|
|
34 |
public HasClickHandlers getBoutonValider() {
|
|
|
35 |
return valider;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
@Override
|
|
|
39 |
public HasText getSaisieMotsCles() {
|
|
|
40 |
return saisieMotsCles;
|
|
|
41 |
}
|
|
|
42 |
|
|
|
43 |
@Override
|
|
|
44 |
public HasKeyPressHandlers getSaisieMotsClesHasKeyPressHandlers() {
|
|
|
45 |
return saisieMotsCles;
|
|
|
46 |
}
|
|
|
47 |
}
|