Subversion Repositories eFlore/Applications.del

Rev

Rev 144 | Rev 186 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition;

import org.tela_botanica.del.client.utils.MockDatasource;

import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasWidgets;

public class BarreRepartitionVotePresenteur {
        
        private BarreRepartitionVoteVue vue = new BarreRepartitionVoteVue();

        private MockDatasource validationService = MockDatasource.getInstance();

        public void go(HasWidgets container) {
                container.add(vue);
        }

        public void afficherVotes(int pourcentage, String nomTaxon) {
                vue.afficherVotes(pourcentage, nomTaxon);
        }
        
        public BarreRepartitionVoteVue getBarreRepartitionVoteVue() {
                return vue;
        }
        
        public HTML getBarreRepartitionVoteVueHTML() {
                return vue.getBarreRepartitionHtmlBrut();
        }
}