Lines 235-240
Link Here
|
235 |
sandwich.animation = null; |
235 |
sandwich.animation = null; |
236 |
sandwich.lowestAnimation = null; |
236 |
sandwich.lowestAnimation = null; |
237 |
sandwich.shouldUpdate = true; |
237 |
sandwich.shouldUpdate = true; |
|
|
238 |
removeSandwich(animInfo.target, animInfo.type, |
239 |
animInfo.attributeNamespaceURI, |
240 |
animInfo.attributeLocalName); |
238 |
} |
241 |
} |
239 |
// } finally { org.apache.batik.anim.timing.Trace.exit(); } |
242 |
// } finally { org.apache.batik.anim.timing.Trace.exit(); } |
240 |
} |
243 |
} |
Lines 269-274
Link Here
|
269 |
} |
272 |
} |
270 |
|
273 |
|
271 |
/** |
274 |
/** |
|
|
275 |
* Removes the Sandwich for the given animation type/attribute. |
276 |
*/ |
277 |
protected Sandwich removeSandwich(AnimationTarget target, short type, |
278 |
String ns, String an) { |
279 |
TargetInfo info = getTargetInfo(target); |
280 |
Sandwich sandwich; |
281 |
if (type == ANIM_TYPE_XML) { |
282 |
sandwich = (Sandwich) info.xmlAnimations.remove(ns, an); |
283 |
} else if (type == ANIM_TYPE_CSS) { |
284 |
sandwich = (Sandwich) info.cssAnimations.remove(an); |
285 |
} else { |
286 |
sandwich = (Sandwich) info.otherAnimations.remove(an); |
287 |
} |
288 |
return sandwich; |
289 |
} |
290 |
|
291 |
/** |
272 |
* Returns the TargetInfo for the given AnimationTarget. |
292 |
* Returns the TargetInfo for the given AnimationTarget. |
273 |
*/ |
293 |
*/ |
274 |
protected TargetInfo getTargetInfo(AnimationTarget target) { |
294 |
protected TargetInfo getTargetInfo(AnimationTarget target) { |