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 .