Package VASSAL.build.module.properties
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMutableProperty(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:MutablePropertiesContainerReturn a unique Id for the container- Specified by:
getMutablePropertiesContainerIdin interfaceMutablePropertiesContainer
-
addMutableProperty
Description copied from interface:MutablePropertiesContainerAdd a property under the given key- Specified by:
addMutablePropertyin interfaceMutablePropertiesContainer- Parameters:
key- keyp- property
-
getMutableProperty
Description copied from interface:MutablePropertiesContainerFind a GlobalProperty object with the given name- Specified by:
getMutablePropertyin interfaceMutablePropertiesContainer
-
removeMutableProperty
Description copied from interface:MutablePropertiesContainerRemove the property with the given key- Specified by:
removeMutablePropertyin interfaceMutablePropertiesContainer- Parameters:
key- key
-