org.oddjob.designer.components
Class EmptyDC

java.lang.Object
  extended by org.oddjob.arooa.design.DesignComponentBase
      extended by org.oddjob.designer.components.BaseDC
          extended by org.oddjob.designer.components.EmptyDC
All Implemented Interfaces:
DesignComponent, DesignInstance, ParsableDesignInstance

public class EmptyDC
extends BaseDC


Field Summary
 
Fields inherited from class org.oddjob.designer.components.BaseDC
name
 
Constructor Summary
EmptyDC(ArooaElement element, ArooaContext parentContext)
           
 
Method Summary
 DesignProperty[] children()
          Subclasses implement this to provide the child properties.
 Form detail()
          The method is overridden by sub classes which have a detailed definition for their configuration.
 ArooaElement element()
          Required for producing the XML.
 ArooaContext getArooaContext()
          Get the ArooaContext associated with this instance.
 QTag tag()
           
 
Methods inherited from class org.oddjob.designer.components.BaseDC
basePanel, toString
 
Methods inherited from class org.oddjob.arooa.design.DesignComponentBase
addStructuralListener, getId, removeStructuralListener, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.oddjob.arooa.design.DesignComponent
addStructuralListener, getId, removeStructuralListener, setId
 
Methods inherited from interface org.oddjob.arooa.design.DesignInstance
element, getArooaContext
 

Constructor Detail

EmptyDC

public EmptyDC(ArooaElement element,
               ArooaContext parentContext)
Method Detail

children

public DesignProperty[] children()
Description copied from interface: ParsableDesignInstance
Subclasses implement this to provide the child properties.

Returns:
Child properties. Must not be null.

detail

public Form detail()
Description copied from interface: DesignInstance
The method is overridden by sub classes which have a detailed definition for their configuration. For DesignElement which hasn't got detail this method should never be called, and as such it should throw a RuntimeException if it is.

Returns:
The DesignDefinition for their configuration. Never null.

element

public ArooaElement element()
Description copied from interface: DesignInstance
Required for producing the XML.

Specified by:
element in interface DesignInstance
Returns:
The element.

tag

public QTag tag()

getArooaContext

public ArooaContext getArooaContext()
Description copied from interface: DesignInstance
Get the ArooaContext associated with this instance.

Specified by:
getArooaContext in interface DesignInstance
Returns:
The context. Never null.