Exemple #1
0
        override public MenuComponentComposite removeChildComponent(int index)
        {
            MenuComponentComposite c = this.getChild(index);

            if (c != null)
            {
                this.removeChildComponent(c);
                c.setFather(null);
            }
            return(c);
        }
Exemple #2
0
 override public void removeChildComponent(MenuComponentComposite c)
 {
     this.children.Remove(c);
     c.setFather(null);
 }
Exemple #3
0
 override public void addChildComponent(MenuComponentComposite c)
 {
     c.setFather(this);
     this.children.Add(c);
 }