(Feel free to ignore all this - I am just thinking out loud) Maybe not so bad after all...
http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/effects/TagDecorator.html You could extend a TagDecorator to include a callback to repaint itself to ensure the animation occurs, and adjust the ActivityIndicator to track the node's bound with the setXOffset() & setYOffset() methods. One downside would be that you would need to add a new decorator for each node that is being loaded. Then you could open multiple nodes and have multiple animations occurring at the same time. Chris On 17 June 2011 05:08, Edvin Syse <[email protected]> wrote: > Yeah, maybe this isn't worth it :) It's pretty sweet already :) Thank you > for the info. > > Den 17.06.2011 00:05, skrev Chris Bartlett: > >> Thinking about it, I'm not sure how well something like this would work >> with a TreeView, due the fact that a TreeView is normally wrapped in a >> ScrollPane. >> >> You might be able to get the decorator to align to the correct position >> and then adjust to any ScrollPane movement. You certainly wouldn't want >> to just lock the ScrollPane in position as that would defeat the point >> of trying to keep the GUI feeling responsive. >> >> On 17 June 2011 04:56, Edvin Syse <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> >> Den 16.06.2011 23:53, skrev Chris Bartlett: >> >> No idea about the animated gif side of things but... >> >> I have a vague memory about a Decorator that overlays an animated >> ActivityIndicator over a Component. >> >> >> Cool, I guess that could work :) will look into it! >> >> >>
