|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--i3mclient.i3m.GUIText
Controls all gui texts (with different languages).
Constructor Summary | |
GUIText()
Constructor. |
Method Summary | |
static GUIText |
getInstance()
Returns an instance of this class (singleton construction) |
String |
getText(String element)
Get a text with translation |
String |
getText(String element,
boolean doTranslate)
Get a text with or without translation. |
void |
setLanguage(String language)
Set current language. |
void |
store()
Store the file on hard disc. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GUIText()
Method Detail |
public static GUIText getInstance()
public void store()
public String getText(String element)
element
- The text identifier of the wanted string
public String getText(String element, boolean doTranslate)
element
- The text identifier of the wanted stringdoTranslate
- Translate the text or not
public void setLanguage(String language)
language
- The language short string.I3M.LANGUAGESHORT
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |