public class ApplicationResources extends ResourceBundle
ResourceBundle.Control
parent
Constructor and Description |
---|
ApplicationResources()
Deprecated.
Create a new ApplicationResources object containing
the default Diva GUI resources.
|
ApplicationResources(String baseName,
Class withLoader,
ResourceBundle overrides)
Deprecated.
Create a new ApplicationResources object using the given basename,
with the given class as the loader for URL-based resources, and with the
given ResourceBundle as the one that gets overridden.
|
Modifier and Type | Method and Description |
---|---|
Image |
getImage(String key)
Deprecated.
Get a resource as an image.
|
ImageIcon |
getImageIcon(String key)
Deprecated.
Get a resource as an image icon.
|
Enumeration |
getKeys()
Deprecated.
Get an enumeration over the keys
|
URL |
getResource(String key)
Deprecated.
Get a resource as an absolute URL.
|
protected Object |
handleGetObject(String key)
Deprecated.
Get an object from a ResourceBundle.
|
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
public ApplicationResources()
public ApplicationResources(String baseName, Class withLoader, ResourceBundle overrides)
public ImageIcon getImageIcon(String key)
public Image getImage(String key)
protected Object handleGetObject(String key) throws MissingResourceException
handleGetObject
in class ResourceBundle
MissingResourceException
public Enumeration getKeys()
getKeys
in class ResourceBundle
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.