Package VASSAL.build.module.properties
Interface TranslatableStringContainer
- All Known Implementing Classes:
BasicModule,GameModule,GlobalTranslatableMessages,TranslatableStringContainer.Impl
public interface TranslatableStringContainer
A component that can contain mutable (updatable) properties
- Author:
- rkinney
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTranslatableStringContainer.ImplSimple implementation ofTranslatableStringContainer -
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
-
Method Details
-
addTranslatableString
Add a property under the given key- Parameters:
key- keyp- property
-
removeTranslatableString
Remove the property with the given key- Parameters:
key- key
-
getTranslatableString
Find an object with the given name -
getTranslatableStringContainerId
String getTranslatableStringContainerId()Return a unique Id for the container
-