Package VASSAL.build.module.properties
Class TranslatableString.Impl
java.lang.Object
VASSAL.build.module.properties.TranslatableString.Impl
- All Implemented Interfaces:
TranslatableString
- Enclosing interface:
- TranslatableString
public static class TranslatableString.Impl extends Object implements TranslatableString
Simple implementation of
TranslatableString Support dynamic changing of the property name, provided that
the addTo(TranslatableStringContainer) method is used to register this property with a properties
container.-
Nested Class Summary
Nested classes/interfaces inherited from interface VASSAL.build.module.properties.TranslatableString
TranslatableString.Impl, TranslatableString.Util -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidaddTo(TranslatableStringContainer c)static List<TranslatableString.Impl>getAllProperties()StringgetName()TranslatableStringContainergetParent()StringgetPropertyValue()voidremoveFromContainer()voidsetPropertyName(String name)voidsetPropertyValue(String newValue)
-
Constructor Details
-
Impl
- Parameters:
source- will be the source of anyPropertyChangeEventfired by this object
-
-
Method Details
-
getAllProperties
-
addTo
-
setPropertyName
-
removeFromContainer
public void removeFromContainer() -
getPropertyValue
- Specified by:
getPropertyValuein interfaceTranslatableString
-
getName
-
getParent
- Specified by:
getParentin interfaceTranslatableString
-
setPropertyValue
- Specified by:
setPropertyValuein interfaceTranslatableString
-