Detecting completion of GWT Deck Panel Animation
I have a Deck Panel with AnimationEnabled(true). 开发者_如何学GoI want to know when the animation completes when i change the deck in order to perform other tasks.
I guess the answer would be there is no way to do it
Did you try subclassing DeckPanel
and overriding onComplete()
?
public MyDeckPanel extends DeckPanel{
@Override
protected void onComplete(){
super.onComplete();
//What you want to do once the animation completes
}
}
精彩评论