/** * Adds a listener for changes to the given attribute value. */ public void addTargetListener(String ns, String an, boolean isCSS, AnimationTargetListener l) { if (isCSS) { if (svgContext != null) { SVGAnimationTargetContext actx = (SVGAnimationTargetContext) svgContext; actx.addTargetListener(an, l); } } else { super.addTargetListener(ns, an, isCSS, l); } }
/** * Adds a listener for changes to the given attribute value. */ public void addTargetListener(String ns, String an, boolean isCSS, AnimationTargetListener l) { if (isCSS) { if (svgContext != null) { SVGAnimationTargetContext actx = (SVGAnimationTargetContext) svgContext; actx.addTargetListener(an, l); } } else { super.addTargetListener(ns, an, isCSS, l); } }
/** * Adds a listener for changes to the given attribute value. */ public void addTargetListener(String ns, String an, boolean isCSS, AnimationTargetListener l) { if (isCSS) { if (svgContext != null) { SVGAnimationTargetContext actx = (SVGAnimationTargetContext) svgContext; actx.addTargetListener(an, l); } } else { super.addTargetListener(ns, an, isCSS, l); } }