Class IWMultiLanguageSupport

Use this class to load the language files for a component at runtime.

Author: JAN

Constructor Summary
IWMultiLanguageSupport(map, languagePack)
            The multi language support interface loads the requested language file at runtime.
 
Method Summary
 void addLabelFor(label)
           Adds a new label which will be updated after the new language pack has been loaded.
 void destroyMultiLanguageSupport()
           Destroys all registered listeners and DOM references. instance.
 IWLanguagePack getLanguagePack()
           Returns the language pack.
 void loadLanguagePack(language)
           Loads the corresponding language file for the specified ISO language code. loaded the onlanguagepackload event is triggered.
 String toString()
           Returns a string representation of the class.
 
Event Summary
 void triggerOnLanguagePackLoad(event)
           The onLanguagePackLoad event is fired after the requested language pack has been loaded.

Register an event listener with IWEventManager.addListener(yourMultiLanguageSupportObject, 'onlanguagepackload', yourHandlerMethod(event)); to receive the IWMultiLanguageSupportEvent.

 
Constructor Detail

IWMultiLanguageSupport

IWMultiLanguageSupport(map, languagePack)

Method Detail

addLabelFor

void addLabelFor(label)

destroyMultiLanguageSupport

void destroyMultiLanguageSupport()

getLanguagePack

IWLanguagePack getLanguagePack()

loadLanguagePack

void loadLanguagePack(language)

toString

String toString()

Event Detail

triggerOnLanguagePackLoad

void triggerOnLanguagePackLoad(event)

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:52 GMT+0100 (MEZ)