KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > designer > elements > ListDE


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

4 package org.oddjob.designer.elements;
5
6 import org.oddjob.designer.arooa.ElementWrapper;
7 import org.oddjob.designer.model.DesignDefinition;
8 import org.oddjob.designer.model.DesignElementAttribute;
9 import org.oddjob.designer.model.MultiTypeTable;
10
11
12 /**
13  *
14  */

15 public class ListDE extends DesignElementAttribute {
16
17     public DesignDefinition detail() {
18         return new MultiTypeTable("A List", this)
19                 .setNamed(false);
20     }
21     
22     public ElementWrapper[] elements() {
23         return childElements();
24     }
25     
26 }
27
Popular Tags