public interface IPropertyStore extends IPropertyChangeNotifier
IPropertyStore
allows to store and retrieve values of named
properties, notifying registered PropertyChangeListener
s about all
(real) changes of property values, i.e. when a value gets set, unset, or
changed to a different value.
Any client implementing this interface may internally use an
AdaptableSupport
as a delegate to easily realize the required
functionality.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.String name)
Returns the value of the property specified by name.
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets the value of the property specified by name with the
passed-in value.
|
addPropertyChangeListener, removePropertyChangeListener
void setProperty(java.lang.String name, java.lang.Object value)
name
- The name of the property whose value is to set/update.value
- The property value.java.lang.Object getProperty(java.lang.String name)
name
- The name of the property whose value is to retrieve.Copyright (c) 2014 itemis AG and others. All rights reserved.