public boolean updateTime(double curTime) throws SVGException { boolean stateChange = false; for (Iterator it = children.iterator(); it.hasNext();) { SVGElement ele = (SVGElement) it.next(); stateChange = stateChange || ele.updateTime(curTime); } return super.updateTime(curTime) || stateChange; } }
@Override public boolean updateTime(double curTime) throws SVGException { boolean stateChange = false; for (SVGElement ele : children) { stateChange = stateChange || ele.updateTime(curTime); } return super.updateTime(curTime) || stateChange; } }
public boolean updateTime(double curTime) throws SVGException { boolean stateChange = false; for (Iterator it = children.iterator(); it.hasNext();) { SVGElement ele = (SVGElement)it.next(); stateChange = stateChange || ele.updateTime(curTime); } return super.updateTime(curTime) || stateChange; } }
@Override public boolean updateTime(double curTime) throws SVGException { boolean stateChange = false; for (SVGElement ele : children) { stateChange = stateChange || ele.updateTime(curTime); } return super.updateTime(curTime) || stateChange; } }
public boolean updateTime(double curTime) throws SVGException { boolean changeState = super.updateTime(curTime); Iterator it = children.iterator(); //Distribute message to all members of this group while (it.hasNext()) { SVGElement ele = (SVGElement)it.next(); boolean updateVal = ele.updateTime(curTime); changeState = changeState || updateVal; //Update our shape if shape aware children change if (ele instanceof ShapeElement) cachedShape = null; if (ele instanceof RenderableElement) boundingBox = null; } return changeState; } }
public boolean updateTime(double curTime) throws SVGException { boolean changeState = super.updateTime(curTime); Iterator it = children.iterator(); //Distribute message to all members of this group while (it.hasNext()) { SVGElement ele = (SVGElement) it.next(); boolean updateVal = ele.updateTime(curTime); changeState = changeState || updateVal; //Update our shape if shape aware children change if (ele instanceof ShapeElement) { cachedShape = null; } if (ele instanceof RenderableElement) { boundingBox = null; } } return changeState; } }
@Override public boolean updateTime(double curTime) throws SVGException { boolean changeState = super.updateTime(curTime); Iterator<SVGElement> it = children.iterator(); //Distribute message to all members of this group while (it.hasNext()) { SVGElement ele = it.next(); boolean updateVal = ele.updateTime(curTime); changeState = changeState || updateVal; //Update our shape if shape aware children change if (ele instanceof ShapeElement) { cachedShape = null; } if (ele instanceof RenderableElement) { boundingBox = null; } } return changeState; } }
@Override public boolean updateTime(double curTime) throws SVGException { boolean changeState = super.updateTime(curTime); Iterator<SVGElement> it = children.iterator(); //Distribute message to all members of this group while (it.hasNext()) { SVGElement ele = it.next(); boolean updateVal = ele.updateTime(curTime); changeState = changeState || updateVal; //Update our shape if shape aware children change if (ele instanceof ShapeElement) { cachedShape = null; } if (ele instanceof RenderableElement) { boundingBox = null; } } return changeState; } }
ele.updateTime(curTime);
ele.updateTime(curTime);