Flashing cells for FlexTable

2010-06-12 Thread 82man
Hi all, I just started using GWT and so far its been pretty awesome. I am trying to implement a table where if a value changes it will do a flash ? For example, i have 3 cells and Cell A changes values , I would like flash on that cell (background changes color etc) to show the user that this

Re: Flashing cells for FlexTable

2010-06-12 Thread aditya sanas
Hi, you can set particular styling for that cell for specific period of time say for 2 seconds and less than that and just remove this styling after that time. as flexttable has method as getFlexCellFormatter().setStyleName(stylename); remove this style after 2 seconds. so user will be

Re: Flashing cells for FlexTable

2010-06-12 Thread Sky
Use the Timer class for doing that. It's super easy to create and schedule Timers for doing asynchronous and delayed work like that. Or you could even make it better by fading from one color to the next color as an animation. Just make a class extend the Animation class and you'll auto override