/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; if (animVal == null) { animVal = new AnimSVGPARValue(); } AnimatablePreserveAspectRatioValue animPAR = (AnimatablePreserveAspectRatioValue) val; animVal.setAnimatedValue(animPAR.getAlign(), animPAR.getMeetOrSlice()); } fireAnimatedAttributeListeners(); }
/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; if (animVal == null) { animVal = new AnimSVGPARValue(); } AnimatablePreserveAspectRatioValue animPAR = (AnimatablePreserveAspectRatioValue) val; animVal.setAnimatedValue(animPAR.getAlign(), animPAR.getMeetOrSlice()); } fireAnimatedAttributeListeners(); }
/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; if (animVal == null) { animVal = new AnimSVGPARValue(); } AnimatablePreserveAspectRatioValue animPAR = (AnimatablePreserveAspectRatioValue) val; animVal.setAnimatedValue(animPAR.getAlign(), animPAR.getMeetOrSlice()); } fireAnimatedAttributeListeners(); }