private boolean doAbsoluteCorrections(CompWrap cw, int[] bounds) { boolean changed = false; int[] stSz = getAbsoluteDimBounds(cw, bounds[2], true); if (stSz != null) cw.setDimBounds(stSz[0], stSz[1], true); stSz = getAbsoluteDimBounds(cw, bounds[3], false); if (stSz != null) cw.setDimBounds(stSz[0], stSz[1], false); // If there is a link id, store the new bounds. if (linkTargetIDs != null) changed = setLinkedBounds(cw.comp, cw.cc, cw.x, cw.y, cw.w, cw.h, false); return changed; }
doAgain |= setLinkedBounds(cw.comp, cw.cc, stSz[0], stSz[0], stSz[1], stSz[1], false);
setLinkedBounds(comp, rootCc, comp.getX(), comp.getY(), comp.getWidth(), comp.getHeight(), rootCc.isExternal()); i++; continue; // The "external" component should not be handled further. setLinkedBounds(comp, rootCc, comp.getX(), comp.getY(), comp.getWidth(), comp.getHeight(), rootCc.isExternal()); i++; continue;