Uses of Class
VASSAL.i18n.Translation
| Package | Description |
|---|---|
| VASSAL.i18n |
-
Uses of Translation in VASSAL.i18n
Subclasses of Translation in VASSAL.i18n Modifier and Type Class Description classVassalTranslationUtility class to allow translation of VASSAL using the Component Translation mechanism.Fields in VASSAL.i18n declared as Translation Modifier and Type Field Description protected TranslationTranslateWindow. currentTranslationFields in VASSAL.i18n with type parameters of type Translation Modifier and Type Field Description protected List<Translation>Localization. countryTranslationsprotected List<Translation>Localization. languageTranslationsprotected List<Translation>Localization. moduleTranslationsprotected List<Translation>Localization. translationsMethods in VASSAL.i18n that return Translation Modifier and Type Method Description TranslationLocalization. getTranslation(String description)Return a specified translationMethods in VASSAL.i18n with parameters of type Translation Modifier and Type Method Description voidLocalization. addTranslation(Translation t)Called whenever a Translation is added to a module or extension.intTranslation. compareTo(Translation o)StringComponentI18nData. getTranslatedValue(String attr, Translation translation)booleanComponentI18nData. hasUntranslatedAttributes(Translation t)Return true if this component or any of its children have at least one translatable attribute with a non-null value that does not have a translation in the supplied translation.voidLocalization. removeTranslation(Translation t)