GWT Deck Panel Animation Completion Detection

I have a Deck with AnimationEnabled (true). I want to know when the animation finishes when I change the deck to do other tasks.

+2


a source to share


2 answers


I guess the answer would be impossible to do this



+1


a source


Have you tried subclassing DeckPanel

and overriding onComplete()

?



public MyDeckPanel extends DeckPanel{
    @Override
    protected void onComplete(){
        super.onComplete();
        //What you want to do once the animation completes
    }
}

      

-2


a source







All Articles