protected void setDiagram(SVGDiagram diagram) { this.diagram = diagram; diagram.setElement(id, this); for (SVGElement ele : children) { ele.setDiagram(diagram); } }
protected void setDiagram(SVGDiagram diagram) { this.diagram = diagram; diagram.setElement(id, this); for (Iterator it = children.iterator(); it.hasNext();) { SVGElement ele = (SVGElement)it.next(); ele.setDiagram(diagram); } }
protected void setDiagram(SVGDiagram diagram) { this.diagram = diagram; diagram.setElement(id, this); for (SVGElement ele : children) { ele.setDiagram(diagram); } }
protected void setDiagram(SVGDiagram diagram) { this.diagram = diagram; diagram.setElement(id, this); for (Iterator it = children.iterator(); it.hasNext();) { SVGElement ele = (SVGElement) it.next(); ele.setDiagram(diagram); } }
/** * Called after the start element but before the end element to indicate * each child tag that has been processed */ public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException { children.add(child); child.parent = this; child.setDiagram(diagram); //Add info to track if we've scanned animation element if (child instanceof AnimationElement) { trackManager.addTrackElement((AnimationElement)child); } }
/** * Called after the start element but before the end element to indicate * each child tag that has been processed */ public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException { children.add(child); child.parent = this; child.setDiagram(diagram); //Add info to track if we've scanned animation element if (child instanceof AnimationElement) { trackManager.addTrackElement((AnimationElement) child); } }
/** * Called after the start element but before the end element to indicate * each child tag that has been processed * @param helper * @param child * @throws com.kitfox.svg.SVGElementException */ public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException { children.add(child); child.parent = this; child.setDiagram(diagram); //Add info to track if we've scanned animation element if (child instanceof AnimationElement) { trackManager.addTrackElement((AnimationElement) child); } }
/** * Called after the start element but before the end element to indicate * each child tag that has been processed * @param helper * @param child * @throws com.kitfox.svg.SVGElementException */ public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException { children.add(child); child.parent = this; child.setDiagram(diagram); //Add info to track if we've scanned animation element if (child instanceof AnimationElement) { trackManager.addTrackElement((AnimationElement) child); } }