Subversion Repositories eFlore/Applications.del

Rev

Rev 446 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.navigation.evenement.pagination;

import com.google.gwt.event.shared.GwtEvent;

public class EvenementChangementPage extends GwtEvent<GestionnaireEvenementChangementPage> {

        public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementPage> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementPage>();

        private int pageAAfficher;
        private String groupePagination = null;

        public EvenementChangementPage(int pageAAfficher) {
                this.pageAAfficher = pageAAfficher;
        }
        
        public EvenementChangementPage(int pageAAfficher, String groupePagination) {
                this.pageAAfficher = pageAAfficher;
                this.groupePagination = groupePagination;
        }

        @Override
        protected void dispatch(GestionnaireEvenementChangementPage handler) {
                handler.onChangementPage(this);
        }

        @Override
        public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementPage> getAssociatedType() {
                return TYPE;
        }

        public int getPageAAfficher() {
                return pageAAfficher;
        }

        public void setPageAAfficher(int pageAAfficher) {
                this.pageAAfficher = pageAAfficher;
        }
        
        public String getGroupePagination() {
                return groupePagination;
        }

        public void setGroupePagination(String groupePagination) {
                this.groupePagination = groupePagination;
        }
}