/** * Invoked to indicate that this timed element has had its fill removed. */ public void removeFill(AbstractAnimation anim) { anim.isActive = false; anim.isFrozen = false; anim.value = null; anim.markDirty(); moveToBottom(anim); }
/** * Invoked to indicate that this timed element has had its fill removed. */ public void removeFill(AbstractAnimation anim) { anim.isActive = false; anim.isFrozen = false; anim.value = null; anim.markDirty(); moveToBottom(anim); }
/** * Invoked to indicate that this timed element has had its fill removed. */ public void removeFill(AbstractAnimation anim) { anim.isActive = false; anim.isFrozen = false; anim.value = null; anim.markDirty(); moveToBottom(anim); }
/** * Invoked to indicate that this timed element became inactive. * * @param anim the animation * @param isFrozen whether the element is frozen or not */ public void toInactive(AbstractAnimation anim, boolean isFrozen) { anim.isActive = false; anim.isFrozen = isFrozen; anim.markDirty(); if (!isFrozen) { anim.value = null; anim.beginTime = Float.NEGATIVE_INFINITY; moveToBottom(anim); } }
/** * Invoked to indicate that this timed element became inactive. * * @param anim the animation * @param isFrozen whether the element is frozen or not */ public void toInactive(AbstractAnimation anim, boolean isFrozen) { anim.isActive = false; anim.isFrozen = isFrozen; anim.markDirty(); if (!isFrozen) { anim.value = null; anim.beginTime = Float.NEGATIVE_INFINITY; moveToBottom(anim); } }
/** * Invoked to indicate that this timed element became inactive. * * @param anim the animation * @param isFrozen whether the element is frozen or not */ public void toInactive(AbstractAnimation anim, boolean isFrozen) { anim.isActive = false; anim.isFrozen = isFrozen; anim.markDirty(); if (!isFrozen) { anim.value = null; anim.beginTime = Float.NEGATIVE_INFINITY; moveToBottom(anim); } }
/** * Removes an animation from the document. */ public void removeAnimation(AbstractAnimation anim) { // org.apache.batik.anim.timing.Trace.enter(this, "removeAnimation", new Object[] { anim } ); try { timedDocumentRoot.removeChild(anim.getTimedElement()); AbstractAnimation nextHigher = anim.higherAnimation; if (nextHigher != null) { nextHigher.markDirty(); } moveToBottom(anim); if (anim.higherAnimation != null) { anim.higherAnimation.lowerAnimation = null; } AnimationInfo animInfo = getAnimationInfo(anim); Sandwich sandwich = getSandwich(animInfo.target, animInfo.type, animInfo.attributeNamespaceURI, animInfo.attributeLocalName); if (sandwich.animation == anim) { sandwich.animation = null; sandwich.lowestAnimation = null; sandwich.shouldUpdate = true; } // } finally { org.apache.batik.anim.timing.Trace.exit(); } }
/** * Removes an animation from the document. */ public void removeAnimation(AbstractAnimation anim) { // org.apache.batik.anim.timing.Trace.enter(this, "removeAnimation", new Object[] { anim } ); try { timedDocumentRoot.removeChild(anim.getTimedElement()); AbstractAnimation nextHigher = anim.higherAnimation; if (nextHigher != null) { nextHigher.markDirty(); } moveToBottom(anim); if (anim.higherAnimation != null) { anim.higherAnimation.lowerAnimation = null; } AnimationInfo animInfo = getAnimationInfo(anim); Sandwich sandwich = getSandwich(animInfo.target, animInfo.type, animInfo.attributeNamespaceURI, animInfo.attributeLocalName); if (sandwich.animation == anim) { sandwich.animation = null; sandwich.lowestAnimation = null; sandwich.shouldUpdate = true; } // } finally { org.apache.batik.anim.timing.Trace.exit(); } }
/** * Removes an animation from the document. */ public void removeAnimation(AbstractAnimation anim) { // org.apache.batik.anim.timing.Trace.enter(this, "removeAnimation", new Object[] { anim } ); try { timedDocumentRoot.removeChild(anim.getTimedElement()); AbstractAnimation nextHigher = anim.higherAnimation; if (nextHigher != null) { nextHigher.markDirty(); } moveToBottom(anim); if (anim.higherAnimation != null) { anim.higherAnimation.lowerAnimation = null; } AnimationInfo animInfo = getAnimationInfo(anim); Sandwich sandwich = getSandwich(animInfo.target, animInfo.type, animInfo.attributeNamespaceURI, animInfo.attributeLocalName); if (sandwich.animation == anim) { sandwich.animation = null; sandwich.lowestAnimation = null; sandwich.shouldUpdate = true; } // } finally { org.apache.batik.anim.timing.Trace.exit(); } }