Class NmrResourceHandler
- java.lang.Object
-
- org.openscience.jmol.app.janocchio.NmrResourceHandler
-
public class NmrResourceHandler extends Object
Provides access to resources (for example, strings and images). This class is a singleton which is retrieved by the getInstance method.- Author:
- Bradley A. Smith (bradley@baysmith.com)
-
-
Field Summary
Fields Modifier and Type Field Description private static NmrResourceHandler
instance
private ResourceBundle
stringsResourceBundle
-
Constructor Summary
Constructors Modifier Constructor Description private
NmrResourceHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private ImageIcon
getIcon(String key)
static ImageIcon
getIconX(String key)
static NmrResourceHandler
getInstance()
private String
getString(String key)
static String
getStringX(String key)
-
-
-
Field Detail
-
instance
private static NmrResourceHandler instance
-
stringsResourceBundle
private ResourceBundle stringsResourceBundle
-
-