|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.virtuosotechnologies.lib.container.WrappingPropertySet
A PropertySet that wraps another PropertySet. This PropertySet is not modifiable, but its value may change if the wrapped PropertySet changes. This implementation is fully synchronized and thread-safe.
Constructor Summary | |
WrappingPropertySet(PropertySet parent)
Constructor |
Method Summary | |
void |
addPropertySetListener(PropertySetListener listener)
Add a PropertySetListener. |
Object |
getDefaultValue(ConstrainedKey key)
Get the default value for a property, or null if there is no default. |
Object |
getValue(ConstrainedKey key)
Get a property. |
void |
removePropertySetListener(PropertySetListener listener)
Remove a PropertySetListener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WrappingPropertySet(PropertySet parent)
parent
- PropertySet to wrapMethod Detail |
public Object getValue(ConstrainedKey key)
getValue
in interface PropertySet
key
- key object for the property
public Object getDefaultValue(ConstrainedKey key)
getDefaultValue
in interface PropertySet
key
- key object for the property
public final void addPropertySetListener(PropertySetListener listener)
addPropertySetListener
in interface PropertySet
listener
- new listenerpublic final void removePropertySetListener(PropertySetListener listener)
removePropertySetListener
in interface PropertySet
listener
- listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |