Hello,
Using SmartClient Version: SC_SNAPSHOT-2011-11-10/PowerEdition Deployment (built 2011-11-10)
I want to implement a notification widget (ie. like Growl on mac), that pops up with a AnimationEffect.FADE, stands there for 4 seconds, and then AnimationEffect.FADE's again.
I now have this, but now it starts to hide immediately after rendering, i'd prefer a pause of X seconds. Is this possible?
My current code:
Very curious about this!
Using SmartClient Version: SC_SNAPSHOT-2011-11-10/PowerEdition Deployment (built 2011-11-10)
I want to implement a notification widget (ie. like Growl on mac), that pops up with a AnimationEffect.FADE, stands there for 4 seconds, and then AnimationEffect.FADE's again.
I now have this, but now it starts to hide immediately after rendering, i'd prefer a pause of X seconds. Is this possible?
My current code:
Code:
public void showAndHide(){
animateShow(AnimationEffect.FADE, new AnimationCallback() {
public void execute(boolean earlyFinish) {
//I want a pause here of x seconds, possible?
animateHide(AnimationEffect.FADE, null, 400);
}
}, 400);
}