KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > designer > components > InsertableDC


1 /*
2  * (c) Rob Gordon 2005.
3  */

4 package org.oddjob.designer.components;
5
6 import org.oddjob.designer.model.DesignComponent;
7 import org.oddjob.designer.model.InsertableDesignComponent;
8
9 /**
10  * For DesignComponents to extend which have children that
11  * can be inserted in a list.
12  */

13 abstract public class InsertableDC extends StructuralDC
14 implements InsertableDesignComponent {
15
16     public void insertChild(int index, DesignComponent child) {
17         childHelper.insertChild(index, child);
18     }
19 }
20
Popular Tags