14071408140914101411141214131414141514161417
boolean first = true; for (Iterator it = selection.iterator(); it.hasNext();) { Figure f = (Figure) it.next(); f.moveBy(xOffset, yOffset); if (first) { scrollIntoView(f, true); first = false; }
10781079108010811082108310841085108610871088
public void translateChildren(int dx, int dy) { for (FigureEnumeration fe = figures(); fe.hasMoreElements();) { Figure f = fe.nextFigure(); f.moveBy(dx, dy); } } public void setIconFigure(Figure iconFigure) {