Subversion Repositories eFlore/Applications.del

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
672 gduche 1
package org.tela_botanica.del.client.composants.votes.barrerepartition;
2
 
3
import com.google.gwt.animation.client.Animation;
4
import com.google.gwt.user.client.ui.Widget;
5
 
6
public class InfoBulleAnim extends Animation{
7
 
8
	private Widget widget;
9
 
10
	public InfoBulleAnim(Widget widget) {
11
		this.widget = widget;
12
		widget.setVisible(false);
13
	}
14
 
15
	@Override
16
	protected void onStart() {
17
		super.onStart();
18
		widget.setVisible(true);
19
	}
20
 
21
	@Override
22
	protected void onUpdate(double progress) {
23
	}
24
 
25
	@Override
26
    protected void onComplete() {
27
      super.onComplete();
28
      widget.setVisible(false);
29
    }
30
}