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
- Author:
- rkinney
-
Nested Class Summary
Nested classes/interfaces inherited from interface VASSAL.build.module.properties.TranslatableStringContainer
TranslatableStringContainer.Impl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a property under the given keygetTranslatableString
(String propertyName) Find an object with the given nameReturn a unique Id for the containerRemove the property with the given key
-
Constructor Details
-
Impl
public Impl() -
Impl
-
-
Method Details
-
getTranslatableStringContainerId
Description copied from interface:TranslatableStringContainer
Return a unique Id for the container- Specified by:
getTranslatableStringContainerId
in interfaceTranslatableStringContainer
-
addTranslatableString
Description copied from interface:TranslatableStringContainer
Add a property under the given key- Specified by:
addTranslatableString
in interfaceTranslatableStringContainer
- Parameters:
key
- keyp
- property
-
getTranslatableString
Description copied from interface:TranslatableStringContainer
Find an object with the given name- Specified by:
getTranslatableString
in interfaceTranslatableStringContainer
-
removeTranslatableString
Description copied from interface:TranslatableStringContainer
Remove the property with the given key- Specified by:
removeTranslatableString
in interfaceTranslatableStringContainer
- Parameters:
key
- key
-