Adding a new DeckLayoutPanel that displays one of many widgets and transitions between them using a horizontal or vertical sliding animation.  This is useful for mobile web apps that want to create a slide effect between pages.  Integrated DeckLayoutPanel into TabLayoutPanel so both widgets can share the animated transitions.  I also replaced the TabPanel Showcase sample with a TabLayoutPanel sample to show off the new feature.

This patch also fixes some subtle bugs in the general Layout code. Calling forceLayout/animate(0) to layout immediately now cancels any pending animation.  Previously, the animation was only cancelled if a new animation was started.  In IE8, we only round pixels values.  PCT values are not rounded, which would lower the resolution of the layout.  In TabLayoutPanel, we now handle the case where a tab header is removed via header.removeFromParent().

Review at http://gwt-code-reviews.appspot.com/1340803

Review by: sbrubaker@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9689 8db76d5a-ed1c-0410-87a9-c151d255dfc7
20 files changed