public class IndexedDesignProperty
extends java.lang.Object
Constructor and Description |
---|
IndexedDesignProperty(java.lang.String property,
java.lang.Class<?> propertyClass,
ArooaType type,
DesignInstance parent) |
IndexedDesignProperty(java.lang.String property,
DesignInstance parent) |
Modifier and Type | Method and Description |
---|---|
void |
addDesignListener(DesignListener listener)
Add a listener.
|
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.
|
java.lang.String |
property()
The name of the property.
|
void |
removeDesignListener(DesignListener listener)
Remove a listener.
|
FormItem |
view()
Provide the
FormItem model that represents the view for the
design of this property. |
public IndexedDesignProperty(java.lang.String property, java.lang.Class<?> propertyClass, ArooaType type, DesignInstance parent)
public IndexedDesignProperty(java.lang.String property, DesignInstance parent)
public int instanceCount()
public DesignInstance instanceAt(int index)
index
- The property value's index.public FormItem view()
DesignProperty
FormItem
model that represents the view for the
design of this property.public void clear()
public boolean isPopulated()
DesignProperty
public java.lang.String property()
DesignProperty
property
in interface DesignProperty
public ArooaContext getArooaContext()
DesignElementProperty
ArooaContext
associated with the element.getArooaContext
in interface DesignElementProperty
public void addDesignListener(DesignListener listener)
DesignNotifier
addDesignListener
in interface DesignNotifier
listener
- The listener.public void removeDesignListener(DesignListener listener)
DesignNotifier
removeDesignListener
in interface DesignNotifier
listener
- The listener.