|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.swing.ResourceManager
public class ResourceManager
ResourceManager provides a resurce manager for
application.
ValueAction| Constructor Summary | |
|---|---|
ResourceManager()
Constructs a ResourceManager. |
|
ResourceManager(String name)
Constructs a ResourceManager use the
specified resource name. |
|
| Method Summary | |
|---|---|
void |
addBundle(String name)
Adds a resource bundle use the specified resource name. |
Action |
getAction(String key)
Returns a Action for the key from
this resource manager. |
Icon |
getIcon(String key)
Returns a icon for the key from
this resource manager. |
ImageIcon |
getImageIcon(String key)
Returns a image icon for the key from
this resource manager. |
KeyStroke |
getKeyStroke(String key)
Returns a key stroke for the key from
this resource manager. |
Integer |
getMnemonic(String key)
Returns a mnemonic for the key from
this resource manager. |
URL |
getResource(String key)
|
String |
getString(String key)
Returns a value for the key from
this resource manager. |
void |
removeBundle(String name)
Removes a resource bundle use the specified resource name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceManager()
ResourceManager.
public ResourceManager(String name)
ResourceManager use the
specified resource name.
name - the bundle name| Method Detail |
|---|
public void addBundle(String name)
name - the resource bundle nameremoveBundle(java.lang.String)public void removeBundle(String name)
name - the resource bundle nameaddBundle(java.lang.String)public Integer getMnemonic(String key)
key from
this resource manager.
key - the key
public Icon getIcon(String key)
key from
this resource manager.
key - the key
public ImageIcon getImageIcon(String key)
key from
this resource manager.
key - the key
public KeyStroke getKeyStroke(String key)
key from
this resource manager.
key - the key
public URL getResource(String key)
public String getString(String key)
key from
this resource manager.
key - the key
public Action getAction(String key)
Action for the key from
this resource manager.
key - the key
Action
|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||