|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.arooa.design.IndexedDesignProperty
public class IndexedDesignProperty
| Constructor Summary | |
|---|---|
IndexedDesignProperty(String property,
Class<?> propertyClass,
ArooaType type,
DesignInstance parent)
|
|
IndexedDesignProperty(String property,
DesignInstance parent)
|
|
| Method Summary | |
|---|---|
void |
addDesignListener(DesignListener listener)
Add a DesignListener. |
void |
clear()
|
ArooaContext |
getArooaContext()
Get the ArooaContext associated with the element. |
DesignInstance |
instanceAt(int index)
Overridden by subclasses to provide the design of the property value at the index. |
int |
instanceCount()
Overridden by subclasses to provide the number of design instances for this property. |
boolean |
isPopulated()
Used by the Field Selection View to work out which group to check box. |
String |
property()
The name of the property. |
void |
removeDesignListener(DesignListener listener)
Remove a DesignListener. |
FormItem |
view()
Provide the FormItem model that represents the view for the
design of this property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexedDesignProperty(String property,
Class<?> propertyClass,
ArooaType type,
DesignInstance parent)
public IndexedDesignProperty(String property,
DesignInstance parent)
| Method Detail |
|---|
public int instanceCount()
public DesignInstance instanceAt(int index)
index - The property value's index.
public FormItem view()
DesignPropertyFormItem model that represents the view for the
design of this property.
public void clear()
public boolean isPopulated()
DesignProperty
public String property()
DesignProperty
property in interface DesignPropertypublic ArooaContext getArooaContext()
DesignElementPropertyArooaContext associated with the element.
getArooaContext in interface DesignElementPropertypublic void addDesignListener(DesignListener listener)
DesignElementPropertyDesignListener. The listener will be notified when
instances of either components or types are added to this property.
addDesignListener in interface DesignElementPropertylistener - The listener. Must not be null.public void removeDesignListener(DesignListener listener)
DesignElementPropertyDesignListener.
removeDesignListener in interface DesignElementPropertylistener - The listener. Must not be null.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||