org.oddjob.designer.components
Class BaseDC

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

public abstract class BaseDC
extends DesignComponentBase
implements DesignComponent

The base class which provides default implementation for a standard DesignComponent.


Field Summary
protected  SimpleTextAttribute name
           
 
Constructor Summary
BaseDC(ArooaElement element, ArooaContext parentContext)
           
 
Method Summary
 BorderedGroup basePanel()
           
protected abstract  DesignProperty[] children()
           
 ArooaElement element()
          Required for producing the XML.
 ArooaContext getArooaContext()
          Get the ArooaContext associated with this instance.
 QTag tag()
           
 String 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
detail, element, getArooaContext
 

Field Detail

name

protected final SimpleTextAttribute name
Constructor Detail

BaseDC

public BaseDC(ArooaElement element,
              ArooaContext parentContext)
Method Detail

basePanel

public BorderedGroup basePanel()

toString

public String toString()

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()

children

protected abstract DesignProperty[] children()

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.