override public MenuComponentComposite removeChildComponent(int index) { MenuComponentComposite c = this.getChild(index); if (c != null) { this.removeChildComponent(c); c.setFather(null); } return(c); }
override public void removeChildComponent(MenuComponentComposite c) { this.children.Remove(c); c.setFather(null); }
override public void addChildComponent(MenuComponentComposite c) { c.setFather(this); this.children.Add(c); }