Class JmolResourceHandler
- java.lang.Object
-
- org.openscience.jmol.app.jmolpanel.JmolResourceHandler
-
public class JmolResourceHandler 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 static Object
codePath
private ResourceBundle
generalResourceBundle
private static JmolResourceHandler
instance
private ResourceBundle
stringsResourceBundle
-
Constructor Summary
Constructors Modifier Constructor Description private
JmolResourceHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static void
clear()
private ImageIcon
getIcon(String key)
static ImageIcon
getIconX(String key)
(package private) static JmolResourceHandler
getInstance()
private String
getString(String key)
static String
getStringX(String key)
-
-
-
Field Detail
-
instance
private static JmolResourceHandler instance
-
stringsResourceBundle
private ResourceBundle stringsResourceBundle
-
generalResourceBundle
private ResourceBundle generalResourceBundle
-
codePath
public static Object codePath
-
-