Arch4J 1.1

org.arch4j.ui
Class ResourceManager

java.lang.Object
  |
  +--org.arch4j.ui.ResourceManager

public class ResourceManager
extends Object


Field Summary
protected  HashMap resources
           
 
Constructor Summary
ResourceManager()
          This method was created by a SmartGuide.
 
Method Summary
 void addResource(String aKey, Integer aValue)
          Add a new resource to the pool.
 void addResource(String aKey, String aValue)
          Add a new resource to the pool.
 ImageIcon getIcon(String name)
           
 Integer getInteger(String key)
           
 String getString(String key)
          Get the string value for the key passed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resources

protected HashMap resources
Constructor Detail

ResourceManager

public ResourceManager()
This method was created by a SmartGuide.

Method Detail

getIcon

public ImageIcon getIcon(String name)

getInteger

public Integer getInteger(String key)

getString

public String getString(String key)
Get the string value for the key passed in.

Parameters:
key - The key to the value we are looking for.
Returns:
The value for the input key.

addResource

public void addResource(String aKey,
                        String aValue)
Add a new resource to the pool.

Parameters:
aKey - The key for the resource.
aValue - The value of the resource.

addResource

public void addResource(String aKey,
                        Integer aValue)
Add a new resource to the pool.

Parameters:
aKey - The key for the resource.
aValue - The value of the resource.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.