org.oddjob.arooa.design.etc
Class UnknownComponent

java.lang.Object
  extended by org.oddjob.arooa.design.etc.UnknownInstance
      extended by org.oddjob.arooa.design.etc.UnknownComponent
All Implemented Interfaces:
DesignComponent, DesignInstance, Unknown

public class UnknownComponent
extends UnknownInstance
implements DesignComponent


Constructor Summary
UnknownComponent(ArooaElement element, ArooaContext parentContext)
           
 
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 class org.oddjob.arooa.design.etc.UnknownInstance
detail, element, getArooaContext, getXml, setXml, toString
 
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.DesignInstance
detail, element, getArooaContext
 

Constructor Detail

UnknownComponent

public UnknownComponent(ArooaElement element,
                        ArooaContext parentContext)
Method Detail

addStructuralListener

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

Specified by:
addStructuralListener in interface DesignComponent
Parameters:
listener - The listener.

removeStructuralListener

public void removeStructuralListener(DesignListener listener)
Description copied from interface: DesignComponent
Remove a listener.

Specified by:
removeStructuralListener in interface DesignComponent
Parameters:
listener - The listener.

getId

public String getId()
Description copied from interface: DesignComponent
Get the id of the instance, if there is one.

Specified by:
getId in interface DesignComponent
Returns:
The id. May be null.

setId

public void setId(String id)
Description copied from interface: DesignComponent
Set the id of the instance.

Specified by:
setId in interface DesignComponent
Parameters:
id - The id. May be null.