/** * Returns whether animations are currently paused. */ public boolean animationsPaused() { return ctx.getAnimationEngine().isPaused(); }
/** * Unpauses animations in the document. */ public void unpauseAnimations() { ctx.getAnimationEngine().unpause(); }
/** * Pauses animations in the document. */ public void pauseAnimations() { ctx.getAnimationEngine().pause(); }
/** * Pauses animations in the document. */ public void pauseAnimations() { ctx.getAnimationEngine().pause(); }
/** * Unpauses animations in the document. */ public void unpauseAnimations() { ctx.getAnimationEngine().unpause(); }
/** * Returns whether animations are currently paused. */ public boolean animationsPaused() { return ctx.getAnimationEngine().isPaused(); }
/** * Returns the current document time. */ public float getCurrentTime() { return ctx.getAnimationEngine().getCurrentTime(); }
/** * Sets the current document time. */ public void setCurrentTime(float t) { ctx.getAnimationEngine().setCurrentTime(t); } }
/** * Sets the current document time. */ public void setCurrentTime(float t) { ctx.getAnimationEngine().setCurrentTime(t); } }
/** * Unpauses animations in the document. */ public void unpauseAnimations() { ctx.getAnimationEngine().unpause(); }
/** * Returns the current document time. */ public float getCurrentTime() { return ctx.getAnimationEngine().getCurrentTime(); }
/** * Pauses animations in the document. */ public void pauseAnimations() { ctx.getAnimationEngine().pause(); }
/** * Returns the current document time. */ public float getCurrentTime() { return ctx.getAnimationEngine().getCurrentTime(); }
/** * Returns whether animations are currently paused. */ public boolean animationsPaused() { return ctx.getAnimationEngine().isPaused(); }
/** * Sets the current document time. */ public void setCurrentTime(float t) { ctx.getAnimationEngine().setCurrentTime(t); } }
/** * Recursively dispatch the SVG 'onload' event. */ public void dispatchSVGLoadEvent() { SVGSVGElement root = (SVGSVGElement)document.getDocumentElement(); String lang = root.getContentScriptType(); long documentStartTime = System.currentTimeMillis(); bridgeContext.getAnimationEngine().start(documentStartTime); dispatchSVGLoad(root, true, lang); }
/** * Recursively dispatch the SVG 'onload' event. */ public void dispatchSVGLoadEvent() { SVGSVGElement root = (SVGSVGElement)document.getDocumentElement(); String lang = root.getContentScriptType(); long documentStartTime = System.currentTimeMillis(); bridgeContext.getAnimationEngine().start(documentStartTime); dispatchSVGLoad(root, true, lang); }
/** * Recursively dispatch the SVG 'onload' event. */ public void dispatchSVGLoadEvent() { SVGSVGElement root = (SVGSVGElement)document.getDocumentElement(); String lang = root.getContentScriptType(); long documentStartTime = System.currentTimeMillis(); bridgeContext.getAnimationEngine().start(documentStartTime); dispatchSVGLoad(root, true, lang); }
/** * Handles this animation element. * * @param ctx the bridge context to use * @param e the element being handled */ public void handleElement(BridgeContext ctx, Element e) { if (ctx.isDynamic() && BridgeContext.getSVGContext(e) == null) { SVGAnimationElementBridge b = (SVGAnimationElementBridge) getInstance(); b.element = (SVGOMElement) e; b.ctx = ctx; b.eng = ctx.getAnimationEngine(); b.element.setSVGContext(b); if (b.eng.hasStarted()) { b.initializeAnimation(); b.initializeTimedElement(); } else { b.eng.addInitialBridge(b); } } }
/** * Handles this animation element. * * @param ctx the bridge context to use * @param e the element being handled */ public void handleElement(BridgeContext ctx, Element e) { if (ctx.isDynamic() && BridgeContext.getSVGContext(e) == null) { SVGAnimationElementBridge b = (SVGAnimationElementBridge) getInstance(); b.element = (SVGOMElement) e; b.ctx = ctx; b.eng = ctx.getAnimationEngine(); b.element.setSVGContext(b); if (b.eng.hasStarted()) { b.initializeAnimation(); b.initializeTimedElement(); } else { b.eng.addInitialBridge(b); } } }