org.oddjob.arooa.design
Interface DesignComponent

All Superinterfaces:
DesignInstance
All Known Implementing Classes:
BaseDC, DesignComponentBase, EmptyDC, UnknownComponent

public interface DesignComponent
extends DesignInstance

A DesignComponent provides the design configuration for a component.

Author:
rob

Method Summary
 void addStructuralListener(DesignListener listener)
          Add a listener that will notified when child DesignComponents are added or removed from this DesignComponent.
 String getId()
          Get the id of the instance, if there is one.
 void removeStructuralListener(DesignListener listener)
          Remove a listener.
 void setId(String id)
          Set the id of the instance.
 
Methods inherited from interface org.oddjob.arooa.design.DesignInstance
detail, element, getArooaContext
 

Method Detail

addStructuralListener

void addStructuralListener(DesignListener listener)
Add a listener that will notified when child DesignComponents are added or removed from this DesignComponent. This is used by the DesignTreeModel.

Parameters:
listener - The listener.

removeStructuralListener

void removeStructuralListener(DesignListener listener)
Remove a listener.

Parameters:
listener - The listener.

getId

String getId()
Get the id of the instance, if there is one.

Returns:
The id. May be null.

setId

void setId(String id)
Set the id of the instance.

Parameters:
id - The id. May be null.