how to get iphone-like changing view animation

72 views
Skip to first unread message

dadada

unread,
Jul 2, 2011, 9:24:55 AM7/2/11
to Google Web Toolkit
Hi all,

I am looking for a library to do the above. I know about gwt-fx and
gwt-jquery. Is there something else?
Just want to know if any one done a iphone-like transition animation.
Which library did you guys use? And how did you do it?

For instance, if you have a verticalpanel with htmlpanel of texts
inside.

VerticalPanel v = new VerticalPanel();
v.add(new HTMLPanel("hello"));

Do you remove the htmlpanel and add the new content with a transition?
or do you hide the existing content without removing it? Or how do you
guys do it?

Hope to hear from you guys.

/bryan

Gal Dolber

unread,
Jul 2, 2011, 9:45:18 AM7/2/11
to google-we...@googlegroups.com
You can use the LayoutPanel to do that kind of animations,


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/




ciosbel

unread,
Jul 2, 2011, 1:39:21 PM7/2/11
to google-we...@googlegroups.com
As said by Gal, Layout panel gives you max flexibility.

A quick sample is the DeckLayoutPanel that put children in a deck with that kind of transition you are expecting.

http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/index.html?com/google/gwt/user/client/ui/DeckLayoutPanel.html

Bryan Lim

unread,
Jul 3, 2011, 12:05:54 AM7/3/11
to google-we...@googlegroups.com
Hi,

Thanks everyone. 

But how do I create an iphone-like animation on layout panel? 

The tutorial did not show such example.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Thomas Broyer

unread,
Jul 3, 2011, 6:02:15 AM7/3/11
to google-we...@googlegroups.com
Have a look at the Expenses sample.

dd

unread,
Jul 3, 2011, 9:08:23 AM7/3/11
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages