Subversion Repositories eFlore/Applications.del

Rev

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

package org.tela_botanica.del.client.composants.votes.barrerepartition;

import com.google.gwt.animation.client.Animation;
import com.google.gwt.user.client.ui.Widget;

public class InfoBulleAnim extends Animation{

        private Widget widget;
        
        public InfoBulleAnim(Widget widget) {
                this.widget = widget;
                widget.setVisible(false);
        }
        
        @Override
        protected void onStart() {
                super.onStart();
                widget.setVisible(true);
        }
        
        @Override
        protected void onUpdate(double progress) {
        }
        
        @Override
    protected void onComplete() {
      super.onComplete();
      widget.setVisible(false);
    }
}