Smooth jQuery-like animation in GWT
I'm playing with GWT's Animation class as an exercise. My goal is not to create yet another widget/animation library for GWT. Also, I'm well aware that there are many libraries that do this. What I'm trying to do is learn how this can be done, not how to use some library. This is for educational purposes only.... With that said, I've implemented a simple class that performs 4 different animations on some widget: fade in, fade out, slide in, and slide out (following jQuery's animation model). See the code below for how I've implemented it. LIVE DEMO: http://www.rodrigo-silveira.com/gwt-custom