Class MutablePropertiesContainer.Impl
java.lang.Object
VASSAL.build.module.properties.MutablePropertiesContainer.Impl
- All Implemented Interfaces:
MutablePropertiesContainer
- Enclosing interface:
MutablePropertiesContainer
public static class MutablePropertiesContainer.Impl
extends Object
implements MutablePropertiesContainer
Simple implementation of
MutablePropertiesContainer
- Author:
- rkinney
-
Nested Class Summary
Nested classes/interfaces inherited from interface VASSAL.build.module.properties.MutablePropertiesContainer
MutablePropertiesContainer.Impl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMutableProperty
(String key, MutableProperty p) Add a property under the given keyReturn a unique Id for the containergetMutableProperty
(String propertyName) Find a GlobalProperty object with the given nameRemove the property with the given key
-
Constructor Details
-
Impl
public Impl() -
Impl
-
-
Method Details
-
getMutablePropertiesContainerId
Description copied from interface:MutablePropertiesContainer
Return a unique Id for the container- Specified by:
getMutablePropertiesContainerId
in interfaceMutablePropertiesContainer
-
addMutableProperty
Description copied from interface:MutablePropertiesContainer
Add a property under the given key- Specified by:
addMutableProperty
in interfaceMutablePropertiesContainer
- Parameters:
key
- keyp
- property
-
getMutableProperty
Description copied from interface:MutablePropertiesContainer
Find a GlobalProperty object with the given name- Specified by:
getMutableProperty
in interfaceMutablePropertiesContainer
-
removeMutableProperty
Description copied from interface:MutablePropertiesContainer
Remove the property with the given key- Specified by:
removeMutableProperty
in interfaceMutablePropertiesContainer
- Parameters:
key
- key
-