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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
static List
<MutableProperty.Impl> protected Command
getChangeCommand
(String oldValue, String newValue) getName()
void
void
void
setPropertyName
(String name) setPropertyValue
(String newValue)
-
Constructor Details
-
Impl
- Parameters:
source
- will be the source of anyPropertyChangeEvent
fired by this object
-
-
Method Details
-
getAllProperties
-
addMutablePropertyChangeListener
- Specified by:
addMutablePropertyChangeListener
in interfaceMutableProperty
-
addTo
-
setPropertyName
-
removeFromContainer
public void removeFromContainer() -
getPropertyValue
- Specified by:
getPropertyValue
in interfaceMutableProperty
-
getName
-
getParent
- Specified by:
getParent
in interfaceMutableProperty
-
removeMutablePropertyChangeListener
- Specified by:
removeMutablePropertyChangeListener
in interfaceMutableProperty
-
getChangeCommand
-
setPropertyValue
- Specified by:
setPropertyValue
in interfaceMutableProperty
-