org.openscience.jmol.app

Class JmolResourceHandler

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
ResourceBundlegeneralResourceBundle
static JmolResourceHandlerinstance
ResourceBundlestringsResourceBundle
Constructor Summary
JmolResourceHandler()
Method Summary
ImageIcongetIcon(String key)
static ImageIcongetIconX(String key)
static JmolResourceHandlergetInstance()
StringgetString(String key)
static StringgetStringX(String key)

Field Detail

generalResourceBundle

private ResourceBundle generalResourceBundle

instance

private static JmolResourceHandler instance

stringsResourceBundle

private ResourceBundle stringsResourceBundle

Constructor Detail

JmolResourceHandler

private JmolResourceHandler()

Method Detail

getIcon

private ImageIcon getIcon(String key)

getIconX

public static ImageIcon getIconX(String key)

getInstance

public static JmolResourceHandler getInstance()

getString

private String getString(String key)

getStringX

public static String getStringX(String key)