|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.arooa.design.DesignComponentBase
public abstract class DesignComponentBase
Shared implementation for the designs of instances that are components. The common implementation is mainly about notify listeners of structural changes.
| Constructor Summary | |
|---|---|
DesignComponentBase(ArooaElement element,
ArooaClass classIdentifier,
ArooaContext parentContext)
|
|
DesignComponentBase(ArooaElement element,
ArooaContext parentContext)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addStructuralListener(DesignListener listener)
|
protected abstract DesignProperty[] |
children()
|
ArooaElement |
element()
Required for producing the XML. |
ArooaContext |
getArooaContext()
Get the ArooaContext associated with this instance. |
String |
getId()
Get the id of the instance, if there is one. |
void |
removeStructuralListener(DesignListener listener)
|
void |
setId(String id)
Set the id of the instance. |
QTag |
tag()
|
String |
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 |
|---|
public DesignComponentBase(ArooaElement element,
ArooaContext parentContext)
element - parentContext -
public DesignComponentBase(ArooaElement element,
ArooaClass classIdentifier,
ArooaContext parentContext)
element - classIdentifier - parentContext - | Method Detail |
|---|
public void addStructuralListener(DesignListener listener)
addStructuralListener in interface DesignComponentpublic void removeStructuralListener(DesignListener listener)
removeStructuralListener in interface DesignComponentpublic String getId()
DesignComponent
getId in interface DesignComponentpublic void setId(String id)
DesignComponent
setId in interface DesignComponentid - The id. May be null.public ArooaElement element()
DesignInstance
element in interface DesignInstancepublic QTag tag()
protected abstract DesignProperty[] children()
public ArooaContext getArooaContext()
DesignInstanceArooaContext associated with this instance.
getArooaContext in interface DesignInstancepublic String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||