/** * Set Animation to Notify when it enters and exit the screen. * * Default is enter = Animation.FADE_IN_DOWN, exit = Animation.FADE_OUT_UP * * @see org.gwtbootstrap3.extras.animate.client.ui.constants.Animation * * @param enter animation style when Notify enters the screen * @param exit animation style when Notify exists the screen */ public final void setAnimation(Animation enter, Animation exit) { setAnimation((enter != null) ? enter.getCssName() : Animation.NO_ANIMATION.getCssName(), (exit != null) ? exit.getCssName() : Animation.NO_ANIMATION.getCssName()); }
/** * Set Animation to Notify when it enters and exit the screen. * * Default is enter = Animation.FADE_IN_DOWN, exit = Animation.FADE_OUT_UP * * @see org.gwtbootstrap3.extras.animate.client.ui.constants.Animation * * @param enter animation style when Notify enters the screen * @param exit animation style when Notify exists the screen */ public final void setAnimation(Animation enter, Animation exit) { setAnimation((enter != null) ? enter.getCssName() : Animation.NO_ANIMATION.getCssName(), (exit != null) ? exit.getCssName() : Animation.NO_ANIMATION.getCssName()); }