| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Default implementation of PropertyProvider. Allows to add/remove PropertyMap listener.
| Field Summary | |
private Object | myPropertyKey |
private PropertyMap | myPropertyMap |
| Constructor Summary | |
PropertyProviderAdapter(PropertyMap propertyMap, Object propertyKey)Creates new PropertyProvider with propertyKey name of the only property and with propertyMap set of values. | |
| Method Summary | |
Property | addProperty(Object propertyValue)Adds new value to this property. |
void | addPropertyMapListener(PropertyMapListener l)Adds listener for PropertyMapEvent. |
boolean | canAddProperty(Object propertyValue)Checks whether it is possible to add specified value. |
boolean | isReadable()Checks whether it is possible to read values of this property. |
boolean | isWritable()Checks whether it is possible to write values to this property. |
Enumeration | properties()Returns Enumeration of values. |
void | removePropertyMapListener(PropertyMapListener l)Removes listener for PropertyMapEvent. |
| Field Detail |
private Object myPropertyKey
private PropertyMap myPropertyMap
| Constructor Detail |
public PropertyProviderAdapter(PropertyMap propertyMap, Object propertyKey)
| Method Detail |
public Property addProperty(Object propertyValue)
public void addPropertyMapListener(PropertyMapListener l)
public boolean canAddProperty(Object propertyValue)
public boolean isReadable()
public boolean isWritable()
public Enumeration properties()
public void removePropertyMapListener(PropertyMapListener l)
| Association Links |
to Class java.lang.Object
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||