Package VASSAL.build.module.properties
Interface MutablePropertiesContainer
- All Known Implementing Classes:
BasicModule
,GameModule
,GlobalProperties
,Map
,MutablePropertiesContainer.Impl
,PlayerHand
,PrivateMap
,WidgetMap
,Zone
public interface MutablePropertiesContainer
A component that can contain mutable (updateable) properties
- Author:
- rkinney
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MutablePropertiesContainer.Impl
Simple implementation ofMutablePropertiesContainer
-
Method Summary
Modifier and Type Method Description void
addMutableProperty(String key, MutableProperty p)
Add a property under the given keyString
getMutablePropertiesContainerId()
Return a unique Id for the containerMutableProperty
getMutableProperty(String propertyName)
Find a GlobalProperty object with the given nameMutableProperty
removeMutableProperty(String key)
Remove the property with the given key
-
Method Details
-
addMutableProperty
Add a property under the given key- Parameters:
key
-p
-
-
removeMutableProperty
Remove the property with the given key- Parameters:
key
-
-
getMutableProperty
Find a GlobalProperty object with the given name -
getMutablePropertiesContainerId
String getMutablePropertiesContainerId()Return a unique Id for the container
-