public static class SelectableItemRenderer.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 |
|---|
SelectableItemRenderer.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 SelectableItemRenderer.TranslatedItem(String text, ResourceBundle res)
public String getText()
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 InternationalizationCopyright © 2016 Imatia Innovation S.L.. All rights reserved.