public class MappedDesignProperty
extends java.lang.Object
| Constructor and Description |
|---|
MappedDesignProperty(java.lang.String property,
java.lang.Class<?> propertyClass,
ArooaType type,
DesignInstance parent)
Constructor.
|
MappedDesignProperty(java.lang.String property,
DesignInstance parent)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDesignListener(DesignListener listener)
Add a listener.
|
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.
|
java.lang.String |
property()
The name of the property.
|
void |
removeDesignListener(DesignListener listener)
Remove a listener.
|
MultiTypeTable |
view()
Provide the
FormItem model that represents the view for the
design of this property. |
public MappedDesignProperty(java.lang.String property,
java.lang.Class<?> propertyClass,
ArooaType type,
DesignInstance parent)
property - propertyClass - type - parent - public MappedDesignProperty(java.lang.String property,
DesignInstance parent)
throws ArooaPropertyException
property - parent - ArooaPropertyExceptionpublic int instanceCount()
public DesignInstance instanceAt(int index)
index - The property value's index.public MultiTypeTable view()
DesignPropertyFormItem model that represents the view for the
design of this property.public boolean isPopulated()
DesignPropertypublic java.lang.String property()
DesignPropertyproperty in interface DesignPropertypublic ArooaContext getArooaContext()
DesignElementPropertyArooaContext associated with the element.getArooaContext in interface DesignElementPropertypublic void addDesignListener(DesignListener listener)
DesignNotifieraddDesignListener in interface DesignNotifierlistener - The listener.public void removeDesignListener(DesignListener listener)
DesignNotifierremoveDesignListener in interface DesignNotifierlistener - The listener.