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 ObjectcodePathprivate ResourceBundlegeneralResourceBundleprivate static JmolResourceHandlerinstanceprivate ResourceBundlestringsResourceBundle
-
Constructor Summary
Constructors Modifier Constructor Description privateJmolResourceHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static voidclear()private ImageIcongetIcon(String key)static ImageIcongetIconX(String key)(package private) static JmolResourceHandlergetInstance()private StringgetString(String key)static StringgetStringX(String key)
-
-
-
Field Detail
-
instance
private static JmolResourceHandler instance
-
stringsResourceBundle
private ResourceBundle stringsResourceBundle
-
generalResourceBundle
private ResourceBundle generalResourceBundle
-
codePath
public static Object codePath
-
-