Package VASSAL.build.module.properties
Class TranslatableStringContainer.Impl
java.lang.Object
VASSAL.build.module.properties.TranslatableStringContainer.Impl
- All Implemented Interfaces:
TranslatableStringContainer
- Enclosing interface:
- TranslatableStringContainer
public static class TranslatableStringContainer.Impl extends Object implements TranslatableStringContainer
Simple implementation of
TranslatableStringContainer-
Nested Class Summary
Nested classes/interfaces inherited from interface VASSAL.build.module.properties.TranslatableStringContainer
TranslatableStringContainer.Impl -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidaddTranslatableString(String key, TranslatableString p)Add a property under the given keyTranslatableStringgetTranslatableString(String propertyName)Find an object with the given nameStringgetTranslatableStringContainerId()Return a unique Id for the containerTranslatableStringremoveTranslatableString(String key)Remove the property with the given key
-
Constructor Details
-
Impl
public Impl() -
Impl
-
-
Method Details
-
getTranslatableStringContainerId
Description copied from interface:TranslatableStringContainerReturn a unique Id for the container- Specified by:
getTranslatableStringContainerIdin interfaceTranslatableStringContainer
-
addTranslatableString
Description copied from interface:TranslatableStringContainerAdd a property under the given key- Specified by:
addTranslatableStringin interfaceTranslatableStringContainer- Parameters:
key- keyp- property
-
getTranslatableString
Description copied from interface:TranslatableStringContainerFind an object with the given name- Specified by:
getTranslatableStringin interfaceTranslatableStringContainer
-
removeTranslatableString
Description copied from interface:TranslatableStringContainerRemove the property with the given key- Specified by:
removeTranslatableStringin interfaceTranslatableStringContainer- Parameters:
key- key
-