|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resources
Hide the platform to get resources. This is mainly to prepare for moving from zoom-desktop to OSGI & Netbeans.
| Nested Class Summary | |
|---|---|
static class |
Resources.ResourceNotFoundException
Indicates that a requested resource can not be found. |
| Method Summary | |
|---|---|
String |
format(String key,
Object... args)
Get a localized string template and insert values. |
ImageIcon |
getIcon(String key)
Get a localized image. |
String |
getMessage(String key)
Get a localized string. |
| Method Detail |
|---|
String getMessage(String key)
throws Resources.ResourceNotFoundException
key - The name of the resource string to get.
nu.zoom.catonine.ui.Resources.ResourceNotFoundException - If the resource can not be found.
Resources.ResourceNotFoundException
String format(String key,
Object... args)
throws Resources.ResourceNotFoundException
key - The name of the resource string to get.args - The parametrs that are to be inserted into the string
template.
nu.zoom.catonine.ui.Resources.ResourceNotFoundException - If the resource can not be found.
Resources.ResourceNotFoundException
ImageIcon getIcon(String key)
throws Resources.ResourceNotFoundException
key - The resouce name that points to the image name.
nu.zoom.catonine.ui.Resources.ResourceNotFoundException - If the resource or the image can not be found.
Resources.ResourceNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||