net.clackrouter.jgraph.pad.resources
Class DefaultResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by net.clackrouter.jgraph.pad.resources.DefaultResourceBundle

public class DefaultResourceBundle
extends java.util.ResourceBundle

Defaultresourcebundle for proper names. (e.g. Locales and Look And Feel names are equal in any language. Therefore this Class contains this proper names.)


Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
DefaultResourceBundle()
          Creates a new Instance an requerys all default names.
 
Method Summary
 void addProperNameProvider(ProperNameProvider provider)
          Adds the Propernameprovider and asks him for the proper names.
 java.util.Enumeration getKeys()
          merges the keys of any registered ProperNameProvider and returns them.
 java.lang.Object handleGetObject(java.lang.String key)
          Returns the object for the key or null
 void removeProperNameProvider(ProperNameProvider provider)
          removes the propernameprovider
 void requeryDefaultNames()
          Quires the default names.
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultResourceBundle

public DefaultResourceBundle()
Creates a new Instance an requerys all default names.

Method Detail

addProperNameProvider

public void addProperNameProvider(ProperNameProvider provider)
Adds the Propernameprovider and asks him for the proper names.


removeProperNameProvider

public void removeProperNameProvider(ProperNameProvider provider)
removes the propernameprovider


requeryDefaultNames

public void requeryDefaultNames()
Quires the default names. Therefore any registered Propernameprovider is queried.


getKeys

public java.util.Enumeration getKeys()
merges the keys of any registered ProperNameProvider and returns them.

Specified by:
getKeys in class java.util.ResourceBundle

handleGetObject

public java.lang.Object handleGetObject(java.lang.String key)
Returns the object for the key or null

Specified by:
handleGetObject in class java.util.ResourceBundle