![JAR search and dependency download from the Maven repository](/logo.png)
com.sencha.gxt.fx.client.animation.FadeOut Maven / Gradle / Ivy
package com.sencha.gxt.fx.client.animation;
import com.sencha.gxt.core.client.dom.XElement;
public class FadeOut extends BaseEffect {
public FadeOut(XElement el) {
super(el);
}
public void onComplete() {
element.setVisible(false);
element.getStyle().setProperty("opacity", "");
}
@Override
public void onUpdate(double progress) {
element.getStyle().setOpacity(Math.max(1 - progress, 0));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy