Class MutableProperty.Impl
java.lang.Object
VASSAL.build.module.properties.MutableProperty.Impl
- All Implemented Interfaces:
MutableProperty
- Enclosing interface:
MutableProperty
Simple implementation of
MutableProperty Support dynamic changing of the property name, provided that
the addTo(MutablePropertiesContainer) method is used to register this property with a properties
container.- Author:
- rkinney
-
Nested Class Summary
Nested classes/interfaces inherited from interface VASSAL.build.module.properties.MutableProperty
MutableProperty.Impl, MutableProperty.Util -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic List<MutableProperty.Impl> protected CommandgetChangeCommand(String oldValue, String newValue) getName()voidvoidvoidsetPropertyName(String name) setPropertyValue(String newValue)
-
Constructor Details
-
Impl
- Parameters:
source- will be the source of anyPropertyChangeEventfired by this object
-
-
Method Details
-
getAllProperties
-
addMutablePropertyChangeListener
- Specified by:
addMutablePropertyChangeListenerin interfaceMutableProperty
-
addTo
-
setPropertyName
-
removeFromContainer
public void removeFromContainer() -
getPropertyValue
- Specified by:
getPropertyValuein interfaceMutableProperty
-
getName
-
getParent
- Specified by:
getParentin interfaceMutableProperty
-
removeMutablePropertyChangeListener
- Specified by:
removeMutablePropertyChangeListenerin interfaceMutableProperty
-
getChangeCommand
-
setPropertyValue
- Specified by:
setPropertyValuein interfaceMutableProperty
-