public void startBackgroundIconRotateAnimation() {
        // init infinite animation of no animation was previously configured.
        if (backgroundRotateAnimation == null) {
            startForegroundIconRotateAnimation(0d, 360d, Animation.INDEFINITE, JFXConstants.ANIMATION_DURATION_ROTATION_DEFAULT, Interpolator.LINEAR, false);
            return;
        }
        backgroundRotateAnimation.play();
    }
public void startBackgroundIconRotateAnimation ( ) { if ( backgroundRotateAnimation == null ) { startForegroundIconRotateAnimation ( 0d , 360d , Animation . INDEFINITE , JFXConstants . ANIMATION_DURATION_ROTATION_DEFAULT , Interpolator . LINEAR , false ) ; return ; } backgroundRotateAnimation . play ( ) ; }
Method starts the rotate animation of the background icon color.
If no animation was previously started than an default infinite animation is applied.