Removes the given component from this component's list of children. This method has been overriden to remove any
associated layout constraints.

@param aChild the child component to remove
14757
@Override
	public void remove(final WComponent aChild) {
		super.remove(aChild);
		PanelModel model = getOrCreateComponentModel();

		if (model.layoutConstraints == null) {
			Map<WComponent, Serializable> defaultConstraints = ((PanelModel) getDefaultModel()).layoutConstraints;

			if (defaultConstraints != null) {
				model.layoutConstraints = new HashMap<>(defaultConstraints);
			}
		}

		if (model.layoutConstraints != null) {
			model.layoutConstraints.remove(aChild);

			// Deallocate constraints list if possible, to reduce session size.
			if (model.layoutConstraints.isEmpty()) {
				model.layoutConstraints = null;
			}
		}
	}
1283407
public static void clearHover(Element element) {

        Element parent = element.getParentElement();
        Element sibling = element.getNextSiblingElement();
        element.removeFromParent();
        parent.insertBefore(element, sibling);
    }
1280153
@Override
  public void removeChildren(Element node) {

    NodeList children = node.getChildNodes();
    for (int i = (children.getLength() - 1); i >= 0; i--) {
      node.removeChild(children.item(i));
    }
  }
1309585
public void remove(E edge) {
        if (! edge.added){
            return;
        }
        boolean contained;         
        contained = edges.remove(edge);
        assert(contained);
        contained = edge.getChild().inEdges.remove(edge);
        assert(contained);
        contained = edge.getParent().outEdges.remove(edge);
        assert(contained);
        
        edge.added = false;
    }
406382
int removeDisposedChildSlot(Slot slot) {
		if (!slot.isReleased() || !subSlots.remove(slot)) {
			throw new IllegalArgumentException();
		}
		return subSlots.size();
	}
486974
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPDisplayLayout cpDisplayLayout : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDisplayLayout);
		}
	}
36154
public void removeChildren() {
        for (int i = children.size() - 1; i >= 0; i--) {
            removeChild(children.get(i), true);
        }
    }
689982
@Override
	public void removeByCPRuleId(long CPRuleId) {
		for (CPRuleAssetCategoryRel cpRuleAssetCategoryRel : findByCPRuleId(
				CPRuleId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpRuleAssetCategoryRel);
		}
	}
1038398
protected void clearTreeLevel(CmsUUID parentId) {

        // create a new list to avoid concurrent modifications
        Collection<?> children = m_treeContainer.getChildren(parentId);
        // may be null when monkey clicking
        if (children != null) {
            List<Object> childIds = new ArrayList<Object>(m_treeContainer.getChildren(parentId));
            for (Object childId : childIds) {
                m_treeContainer.removeItemRecursively(childId);
            }
        }
    }
175532
@Override
    protected void afterRemoveChild(ElementBase child) {
        if (child == activePane) {
            setActivePane((ElementTreePane) getFirstChild());
        }
        super.afterRemoveChild(child);
    }
658258
public void removeChildObject(GVRSceneObject child) {
        synchronized (mChildren) {
            NativeSceneObject.removeChildObject(getNative(), child.getNative());

            child.mParent = null;
            child.onRemoveParentObject(this);

            mChildren.remove(child);
        }
    }
830159
final void remove(AbstractCompiler compiler) {
    if (isDetached()) {
      return;
    }
    Node statement = getRemovableNode();
    NodeUtil.deleteNode(statement, compiler);
    statement.removeChildren();
  }
403625
public boolean removeLayout(final Layout layout) {
        boolean removed = mLayouts.remove(layout);
        if (layout != null && removed) {
            layout.onLayoutApplied(null, new Vector3Axis());
        }
        return removed;
    }
1344176
@SuppressWarnings("unchecked")
    private void removeFormerFacets(UIComponent component)
    {
        List<String> formerFacetNames = (List<String>)component.getAttributes().get(FORMER_FACET_NAMES_SET_ATTR);
        if (formerFacetNames != null)
        {
            for (String facetName : formerFacetNames)
            {
                if (_facetsAdded == null || !_facetsAdded.contains(facetName))
                {
                    component.getFacets().remove(facetName);
                }
            }
            if (_facetsAdded == null)
            {
                component.getAttributes().remove(FORMER_FACET_NAMES_SET_ATTR);
            }
            else
            {
                component.getAttributes().put(FORMER_FACET_NAMES_SET_ATTR, _facetsAdded);
            }
        }
        else
        {
            if (_facetsAdded != null)
            {
                component.getAttributes().put(FORMER_FACET_NAMES_SET_ATTR, _facetsAdded);
            }
        }
    }
1082669
public void removeChild(TreeElement child)
    {

        if (child == null || _children == null)
            return;

        int size = _children.size();
        int removeIndex = -1;
        for (int i = 0; i < size; i++) {
            if (child == (TreeElement) _children.get(i)) {
                _children.remove(i);
                child.setParent(null);
                removeIndex = i;
                break;
            }
        }
        if (removeIndex >= 0) {
            size = _children.size();
            for (int i = removeIndex; i < size; i++) {
                TreeElement thisChild = (TreeElement) _children.get(i);
                thisChild.updateName(this, i);
            }
        }
    }
122167
@Override
    public void removeComponent(BaseCell component) {
        int removePosition = getPositionByItem(component);
        if (mData != null && component != null && removePosition >= 0) {
            if (mCards != null) {
                List<Pair<Range<Integer>, Card>> newCards = new ArrayList<>();
                for (int i = 0, size = mCards.size(); i < size; i++) {
                    Pair<Range<Integer>, Card> pair = mCards.get(i);
                    int start = pair.first.getLower();
                    int end = pair.first.getUpper();
                    if (end < removePosition) {
                        //do nothing
                        newCards.add(pair);
                    } else if (start <= removePosition && removePosition < end) {
                        int itemCount = end - start - 1;
                        if (itemCount > 0) {
                            Pair<Range<Integer>, Card> newPair = new Pair<>(Range.create(start, end - 1), pair.second);
                            newCards.add(newPair);
                        }

                    } else if (removePosition <= start) {
                        Pair<Range<Integer>, Card> newPair = new Pair<>(Range.create(start - 1, end - 1), pair.second);
                        newCards.add(newPair);
                    }
                }
                component.removed();
                mCards.clear();
                mCards.addAll(newCards);
                mData.remove(component);
                notifyItemRemoved(removePosition);
                int last = mLayoutManager.findLastVisibleItemPosition();
                notifyItemRangeChanged(removePosition, last - removePosition);
            }
        }
    }
920795
public void remove(JDesktopPaneLayout child)
    {
        if (child.parent != this)
        {
            throw new IllegalArgumentException(
                "Layout is not a child of this layout");
        }
        container.remove(child.container);
    }