Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.services

Class Localizer

com.gentleware.services.Localizer

public class Localizer



 Inner Classifier Summary
public   Localizer.Listener
 
private static   Localizer.BundleInfo
 
arrow_up
 

 Attribute Summary
private Map  _bundleByTag
 
private Set  _bundleInfos
 
private Set  _bundles
 
private Map  _listeners
 
arrow_up
 

 Association Summary
public Services  services
 
arrow_up
 

 Constructor Summary
public   Localizer()
 
arrow_up
 

 Method Summary
public void   addListener(Localizer.Listener listener)
 
public void   addResourceBundle(String bundleName, String baseName, ClassLoader loader)
 
private void   addResourceBundleInt(Localizer.BundleInfo bundleInfo)
 
public boolean   containsKey(ResourceId resourceId)
 
public boolean   containsKey(String bundleName, String key)
 
private void   fireLocaleChanged()
 
public String   get(String bundleName, String key, String defaultValue)
 
public String   get(ResourceId resourceId)
 
public String   get(ResourceId resourceId, String defaultValue)
 
public String   get(String bundleName, String key)
 
public boolean   getBoolean(ResourceId resourceId)
 
public boolean   getBoolean(ResourceId resourceId, boolean defaultValue)
 
public ImageIcon   getIcon(ResourceId resourceId)
 
public int   getInteger(String bundleName, String key, int defaultValue)
 
public KeyStroke   getKeyStroke(ResourceId resourceId)
 
public Set   getKeys(String bundleName)
 
private int   getMenuShortcutKeyMask()
 
public int   getMnemonic(String bundleName, String key)
Returns a key code that is stored with the given key. 
public void   removeListener(Localizer.Listener listener)
 
public void   removeResourceBundle(String bundleName)
 
public void   setLocale(Locale locale)
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 16
gentleware-imported-package-statement-line-number 5
 

 Inner Classifier Detail

Localizer.Listener

public  Localizer.Listener

arrow_up


Localizer.BundleInfo

private static  Localizer.BundleInfo

arrow_up
 Attribute Detail

_bundleByTag

private Map _bundleByTag

arrow_up


_bundleInfos

private Set _bundleInfos

arrow_up


_bundles

private Set _bundles

arrow_up


_listeners

private Map _listeners

arrow_up
 Association Detail

services

public Services services

arrow_up
 Constructor Detail

Localizer

public com.gentleware.services.Localizer Localizer()

Returns:
arrow_up
 Method Detail

addListener

public void addListener(Localizer.Listener listener)

Parameters:
listener -
arrow_up


addResourceBundle

public void addResourceBundle(String bundleName, String baseName, ClassLoader loader)

Parameters:
bundleName -
baseName -
loader -
arrow_up


addResourceBundleInt

private void addResourceBundleInt(Localizer.BundleInfo bundleInfo)

Parameters:
bundleInfo -
arrow_up


containsKey

public boolean containsKey(ResourceId resourceId)

Parameters:
resourceId -
Returns:
arrow_up


containsKey

public boolean containsKey(String bundleName, String key)

Parameters:
bundleName -
key -
Returns:
arrow_up


fireLocaleChanged

private void fireLocaleChanged()

arrow_up


get

public String get(String bundleName, String key, String defaultValue)

Parameters:
bundleName -
key -
defaultValue -
Returns:
arrow_up


get

public String get(ResourceId resourceId)

Parameters:
resourceId -
Returns:
arrow_up


get

public String get(ResourceId resourceId, String defaultValue)

Parameters:
resourceId -
defaultValue -
Returns:
arrow_up


get

public String get(String bundleName, String key)

Parameters:
bundleName -
key -
Returns:
arrow_up


getBoolean

public boolean getBoolean(ResourceId resourceId)

Parameters:
resourceId -
Returns:
arrow_up


getBoolean

public boolean getBoolean(ResourceId resourceId, boolean defaultValue)

Parameters:
resourceId -
defaultValue -
Returns:
arrow_up


getIcon

public ImageIcon getIcon(ResourceId resourceId)

Parameters:
resourceId -
Returns:
arrow_up


getInteger

public int getInteger(String bundleName, String key, int defaultValue)

Parameters:
bundleName -
key -
defaultValue -
Returns:
arrow_up


getKeyStroke

public KeyStroke getKeyStroke(ResourceId resourceId)

Parameters:
resourceId -
Returns:
arrow_up


getKeys

public Set getKeys(String bundleName)

Parameters:
bundleName -
Returns:
arrow_up


getMenuShortcutKeyMask

private int getMenuShortcutKeyMask()

Returns:
arrow_up


getMnemonic

public int getMnemonic(String bundleName, String key)


Returns a key code that is stored with the given key.  
Parameters:
bundleName -
key -
Returns:
mnemonic key code or 0 if key not found
arrow_up


removeListener

public void removeListener(Localizer.Listener listener)

Parameters:
listener -
arrow_up


removeResourceBundle

public void removeResourceBundle(String bundleName)

Parameters:
bundleName -
arrow_up


setLocale

public void setLocale(Locale locale)

Parameters:
locale -
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.