public class TranslatedItem extends Object implements Internationalization
| Modifier and Type | Field and Description |
|---|---|
protected ResourceBundle |
res |
protected String |
text |
protected String |
translatedText |
DEBUG_LANGUAGE| Constructor and Description |
|---|
TranslatedItem(String text,
ResourceBundle res) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getText() |
Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated.
|
int |
hashCode() |
void |
setComponentLocale(Locale l) |
void |
setResourceBundle(ResourceBundle res)
Sets the language resource bundle.
|
String |
toString() |
protected String text
protected String translatedText
protected ResourceBundle res
public TranslatedItem(String text, ResourceBundle res)
public void setResourceBundle(ResourceBundle res)
InternationalizationsetResourceBundle in interface Internationalizationres - the new language bundle.public void setComponentLocale(Locale l)
setComponentLocale in interface Internationalizationpublic Vector getTextsToTranslate()
InternationalizationgetTextsToTranslate in interface Internationalizationpublic String getText()
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.