Package com.macrofocus.properties
Interface MutableProperties<K>
-
- All Superinterfaces:
java.lang.Iterable<K>
,Properties<K>
- All Known Implementing Classes:
EnumProperties
,OverrideProperties
,SimpleProperties
,WrappedMutableProperties
@JsType public interface MutableProperties<K> extends Properties<K>
Defines the requirements for a collection of properties that can change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> MutableProperty<T>
addProperty(K name, MutableProperty<T> property)
<T> MutableProperty<T>
createProperty(K name, T value)
MutableProperty
getProperty(K name)
<T> MutableProperty<T>
replaceProperty(K name, MutableProperty<T> property)
void
setValue(K name, java.lang.Object value)
-
Methods inherited from interface com.macrofocus.properties.Properties
addPropertiesListener, addWeakPropertiesListener, getValue, removePropertiesListener
-
-
-
-
Method Detail
-
createProperty
<T> MutableProperty<T> createProperty(K name, T value)
-
addProperty
<T> MutableProperty<T> addProperty(K name, MutableProperty<T> property)
-
replaceProperty
<T> MutableProperty<T> replaceProperty(K name, MutableProperty<T> property)
-
setValue
void setValue(K name, java.lang.Object value)
-
getProperty
MutableProperty getProperty(K name)
- Specified by:
getProperty
in interfaceProperties<K>
-
-