1,6 → 1,7 |
package org.tela_botanica.client.vues; |
|
import org.tela_botanica.client.image.ImageMediateur; |
import org.tela_botanica.client.interfaces.ListePaginable; |
import org.tela_botanica.client.interfaces.Rafraichissable; |
import org.tela_botanica.client.interfaces.VueListable; |
|
34,7 → 35,7 |
* @author aurelien |
*/ |
public class ListeImageVue extends GridPanel implements Rafraichissable, |
VueListable { |
VueListable, ListePaginable { |
|
/** |
* Le médiateur associé à la vue |
111,7 → 112,7 |
this.iMediateur = im; |
|
// on place la barre de pagination |
bt = new BarrePaginationVue(iMediateur); |
bt = new BarrePaginationVue(this); |
bt.setLabelElement("Images"); |
bt.setTaillePageParDefaut(50); |
setBottomToolbar(bt); |
512,5 → 513,16 |
} |
|
} |
|
public void changerNumeroPage(int pageCourante) { |
|
iMediateur.changerNumeroPage(pageCourante) ; |
|
} |
|
public void changerTaillePage(int nouvelleTaillePage) { |
|
iMediateur.changerTaillePage(nouvelleTaillePage) ; |
} |
|
} |