|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.design.SimpleDesignProperty
public class SimpleDesignProperty
A DesignElementProperty
for a simple property, i.e. not an
indexed property or a mapped property.
IndexedDesignProperty
,
MappedDesignProperty
Constructor Summary | |
---|---|
SimpleDesignProperty(String property,
Class<?> propertyClass,
ArooaType type,
DesignInstance parent)
Constructor for GenericDesignFactory . |
|
SimpleDesignProperty(String property,
DesignInstance parent)
Constructor for typical instances. |
Method Summary | |
---|---|
void |
addDesignListener(DesignListener listener)
Add a DesignListener . |
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 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 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.Method Detail |
---|
public FormItem view()
DesignProperty
FormItem
model that represents the view for the
design of this property.
public boolean isPopulated()
DesignProperty
public 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)
DesignElementProperty
DesignListener
. The listener will be notified when
instances of either components or types are added to this property.
addDesignListener
in interface DesignElementProperty
listener
- The listener. Must not be null.public void removeDesignListener(DesignListener listener)
DesignElementProperty
DesignListener
.
removeDesignListener
in interface DesignElementProperty
listener
- The listener. Must not be null.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |