开发者

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
    }
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜