/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; AnimatableRectValue animRect = (AnimatableRectValue) val; if (animVal == null) { animVal = new AnimSVGRect(); } animVal.setAnimatedValue(animRect.getX(), animRect.getY(), animRect.getWidth(), animRect.getHeight()); } fireAnimatedAttributeListeners(); }
/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; AnimatableRectValue animRect = (AnimatableRectValue) val; if (animVal == null) { animVal = new AnimSVGRect(); } animVal.setAnimatedValue(animRect.getX(), animRect.getY(), animRect.getWidth(), animRect.getHeight()); } fireAnimatedAttributeListeners(); }
/** * Updates the animated value with the given {@link AnimatableValue}. */ protected void updateAnimatedValue(AnimatableValue val) { if (val == null) { hasAnimVal = false; } else { hasAnimVal = true; AnimatableRectValue animRect = (AnimatableRectValue) val; if (animVal == null) { animVal = new AnimSVGRect(); } animVal.setAnimatedValue(animRect.getX(), animRect.getY(), animRect.getWidth(), animRect.getHeight()); } fireAnimatedAttributeListeners(); }