public void setTargetColor(final Color targetColor) {
        if (!targetColor.equals(this.targetColor)) {
            initialColor.set(currentColor);
            this.targetColor.set(targetColor);
            invalidate();
        }
    }
public void setTargetColor ( final Color targetColor ) { if ( ! targetColor . equals ( this . targetColor ) ) { initialColor . set ( currentColor ) ; this . targetColor . set ( targetColor ) ; invalidate ( ) ; } }
@param targetColor begins transition to this color. Sets initial color to current color value.