120 |
gduche |
1 |
package org.tela_botanica.del.client.pagination;
|
|
|
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.Composite;
|
|
|
7 |
import com.google.gwt.user.client.ui.HorizontalPanel;
|
|
|
8 |
import com.google.gwt.user.client.ui.ListBox;
|
|
|
9 |
import com.google.gwt.user.client.ui.Widget;
|
|
|
10 |
|
|
|
11 |
public class PaginationVue extends Composite {
|
|
|
12 |
|
|
|
13 |
@UiField
|
|
|
14 |
HorizontalPanel zoneLiens;
|
|
|
15 |
|
|
|
16 |
@UiField
|
|
|
17 |
ListBox nbElements;
|
|
|
18 |
|
|
|
19 |
// Annotation can be used to change the name of the associated xml file
|
|
|
20 |
// @UiTemplate("PaginationVue.ui.xml")
|
|
|
21 |
interface MyUiBinder extends UiBinder<Widget, PaginationVue> {
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
|
|
|
25 |
|
|
|
26 |
public PaginationVue() {
|
|
|
27 |
initWidget(uiBinder.createAndBindUi(this));
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public HorizontalPanel getZoneLiens() {
|
|
|
31 |
return this.zoneLiens;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
public ListBox getNbElements() {
|
|
|
35 |
return nbElements;
|
|
|
36 |
}
|
|
|
37 |
}
|