/** Adds its descendants to the ID space when parent or page is changed, * excluding comp. */ private static void removeFromIdSpacesDown(Component comp) { removeFromIdSpacesDown(comp, getSpaceOwnerOfParent(comp)); }
private static void removeFromIdSpacesDown(Component comp, IdSpace owner) { if (!(comp instanceof NonFellow) && !isAutoId(comp.getId())) removeFellow(comp, owner); if (!(comp instanceof IdSpace)) for (AbstractComponent ac = (AbstractComponent) comp.getFirstChild(); ac != null; ac = ac._next) removeFromIdSpacesDown(ac, owner); //recursive ((AbstractComponent) comp).notifyIdSpaceChanged(null); }