public class SimpleDesignProperty extends Object
DesignElementProperty for a simple property, i.e. not an
indexed property or a mapped property.IndexedDesignProperty,
MappedDesignProperty| Constructor and Description |
|---|
SimpleDesignProperty(String property,
Class<?> propertyClass,
ArooaType type,
DesignInstance parent)
Constructor for
GenericDesignFactory. |
SimpleDesignProperty(String property,
DesignInstance parent)
Constructor for typical instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDesignListener(DesignListener listener)
Add a listener.
|
ArooaContext |
getArooaContext()
Get the
ArooaContext associated with the element. |
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 listener.
|
FormItem |
view()
Provide the
FormItem model that represents the view for the
design of this property. |
public SimpleDesignProperty(String property, Class<?> propertyClass, ArooaType type, DesignInstance parent)
GenericDesignFactory.property - propertyClass - type - parent - public SimpleDesignProperty(String property, DesignInstance parent)
property - The property name.parent - The parent design instance.public FormItem view()
DesignPropertyFormItem model that represents the view for the
design of this property.public boolean isPopulated()
DesignPropertypublic 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.Copyright © 2023. All rights reserved.