|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.joda.property.impl.data.AbstractPropertyData | +--org.joda.property.impl.data.DefaultPropertyData | +--org.joda.property.impl.data.ModifiablePropertyData
Derived property data implementation for modifiable data.
Subclasses will typically derive their data from other properties on the parent Property. To fire the correct events when those properties change, call addDependentOn() from the initParentCreated() method.
Constructor Summary | |
ModifiablePropertyData()
Constructor |
Method Summary | |
void |
addDependentOn(Property property)
Add a property that this property is dependent on. |
abstract java.lang.Object |
get()
Get the value of the property. |
void |
set(java.lang.Object object)
Set the value of the property. |
abstract void |
setObject(java.lang.Object object)
Set the value of the property. |
Methods inherited from class org.joda.property.impl.data.DefaultPropertyData |
isModifiable, isReadOnly, setModifiable, setReadOnly |
Methods inherited from class org.joda.property.impl.data.AbstractPropertyData |
addPropertyChangeListener, bean, firePropertyChange, firePropertyChange, initPropertyDataCreated, property, removePropertyChangeListener, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.joda.property.impl.PropertyData |
equals, hashCode |
Constructor Detail |
public ModifiablePropertyData()
Method Detail |
public void addDependentOn(Property property)
property
- the property that this depends onpublic abstract java.lang.Object get()
get
in interface PropertyData
get
in class DefaultPropertyData
PropertyData#get()
public final void set(java.lang.Object object)
PropertyData
set
in interface PropertyData
set
in class DefaultPropertyData
PropertyData.set(Object)
public abstract void setObject(java.lang.Object object)
object
- the object to store
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |