Package com.google.gwt.user.client.ui
Interface HasAnimation
- All Known Implementing Classes:
CellBrowser,CellTree,DeckPanel,DecoratedPopupPanel,DecoratedTabPanel,DialogBox,DisclosurePanel,LoggingPopup,MenuBar,PopupPanel,SuggestBox,SuggestBox.DefaultSuggestionDisplay,TabPanel,Tree
public interface HasAnimation
A
Widget that uses an animation should implement this class so users
can enable or disable animations.-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if animations are enabled, false if not.voidsetAnimationEnabled(boolean enable) Enable or disable animations.
-
Method Details
-
isAnimationEnabled
boolean isAnimationEnabled()Returns true if animations are enabled, false if not. -
setAnimationEnabled
void setAnimationEnabled(boolean enable) Enable or disable animations.- Parameters:
enable- true to enable, false to disable
-