|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.design.MappedDesignProperty
public class MappedDesignProperty
Mapped Design Property. This design property keeps track of the instances and the keys.
Nested Class Summary | |
---|---|
static class |
MappedDesignProperty.InstanceWrapper
|
Constructor Summary | |
---|---|
MappedDesignProperty(String property,
Class<?> propertyClass,
ArooaType type,
DesignInstance parent)
Constructor. |
|
MappedDesignProperty(String property,
DesignInstance parent)
Constructor |
Method Summary | |
---|---|
void |
addDesignListener(DesignListener listener)
Add a DesignListener . |
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 . |
MultiTypeTable |
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 MappedDesignProperty(String property, Class<?> propertyClass, ArooaType type, DesignInstance parent)
property
- propertyClass
- type
- parent
- public MappedDesignProperty(String property, DesignInstance parent) throws ArooaPropertyException
property
- parent
-
ArooaPropertyException
Method Detail |
---|
public int instanceCount()
public DesignInstance instanceAt(int index)
index
- The property value's index.
public MultiTypeTable 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 |