sears.gui.resources
Class SearsResources

java.lang.Object
  extended by sears.gui.resources.SearsResources

public class SearsResources
extends java.lang.Object

Class SearsResourceBundle.
Summary:
This class contains resources for Sears GUI.


Constructor Summary
SearsResources()
           
 
Method Summary
static void dispose()
          Sets to null all utilized variables
Useful when an icon change request is launched
static javax.swing.ImageIcon getIcon(java.lang.String key)
          Method getIcon.
static java.lang.String getIconFolder()
          Method getIconFolder.
static javax.swing.KeyStroke getKey(java.lang.String key)
          Method getKey.
static java.lang.String getString(java.lang.String key)
          Method getString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearsResources

public SearsResources()
Method Detail

getString

public static java.lang.String getString(java.lang.String key)
Method getString.
Summary:
This method return the value that correspond to the given key.

Parameters:
key - The key to search.
Returns:
The String searched value, or "" if does not found.

getIcon

public static javax.swing.ImageIcon getIcon(java.lang.String key)
Method getIcon.
Summary:
This method return the icon that correspond to the given key.

Parameters:
key - The key to search.
Returns:
The ImageIcon searched icon, or blankIcon if does not found.

getKey

public static javax.swing.KeyStroke getKey(java.lang.String key)
Method getKey.
Summary:
This method return the Key accelerator that correspond to the given key.

Parameters:
key - The key to search.
Returns:
The KeyStroke searched key, or null if does not found.

getIconFolder

public static java.lang.String getIconFolder()
Method getIconFolder.
Summary:
This method return the Icon folder.

Returns:
(String) the Icon folder.

dispose

public static void dispose()
Sets to null all utilized variables
Useful when an icon change request is launched