|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines methods for retrieving resources from various locations. This interface is intended to be expanded with a variety of other resource types.
| Method Summary | |
javax.swing.ImageIcon |
getIcon(java.lang.String key)
This method is used to retrieve the specified image icon for the default locale. |
javax.swing.ImageIcon |
getIcon(java.lang.String key,
java.util.Locale locale)
This method is used to retrieve the specified image icon for the specified locale. |
java.util.Collection |
getKeys()
This method returns the collection of keys for the resource provider. |
java.lang.String |
getString(java.lang.String key)
This method is used to find a given resource string based on the default locale. |
java.lang.String |
getString(java.lang.String key,
java.util.Locale locale)
This method is used to find a given resource string based on the specified locale. |
| Method Detail |
public java.util.Collection getKeys()
public java.lang.String getString(java.lang.String key)
key - the resource string key
public javax.swing.ImageIcon getIcon(java.lang.String key)
key - the key (usually the name) of the icon
public java.lang.String getString(java.lang.String key,
java.util.Locale locale)
key - the resource string keylocale - the locale
public javax.swing.ImageIcon getIcon(java.lang.String key,
java.util.Locale locale)
key - the key (usually the name) of the iconlocale - the locale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||