com.togethersoft.openapi.util.properties
Interface IProperties
- All Known Subinterfaces:
- IdeConfig
- All Known Implementing Classes:
- DictionaryProperties, FilteredNameProperties, NullProperties, PropertiesAdapter
- public interface IProperties
- extends IPropertiesRO
Presents interface to a string property with ability to set new value.
- Author:
- TogetherSoft
| Method Summary |
void | addVetoableChangeListener(VetoableChangeListener listener) Add a VetoableListener to the listener list. |
void | putProperty(String key, String value) Sets the value of a property specified by its key. |
void | removeVetoableChangeListener(VetoableChangeListener listener) Remove a VetoableChangeListener from the listener list. |
NULL
public final static IProperties NULL
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)
- Add a VetoableListener to the listener list.
- Parameters:
- listener - The VetoableChangeListener to be added
putProperty
public void putProperty(String key, String value)
- Sets the value of a property specified by its key. The
key cannot be null. If the
value is null, the property is removed.- Parameters:
- key - the string with the key
- value - the string with the value of a property
- Throws:
- NullPointerException - If the value is equal to null.
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener listener)
- Remove a VetoableChangeListener from the listener list.
- Parameters:
- listener - The VetoableChangeListener to be removed
to Class com.togethersoft.openapi.util.properties.IProperties