|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgui.ImageIconRegistry
public class ImageIconRegistry
In this class the images for the imagePanelToolbarDecorator can be registered. It is a Singleton.
Method Summary | |
---|---|
void |
addIcon(java.lang.String name,
javax.swing.ImageIcon i)
Add an icon to the Map of imageIcons |
javax.swing.ImageIcon |
getIcon(java.lang.String name)
Get an imageIcon from the Map |
static ImageIconRegistry |
getInstance()
Returns the instance and creates one if it was null before |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ImageIconRegistry getInstance()
public void addIcon(java.lang.String name, javax.swing.ImageIcon i)
name
- i
- public javax.swing.ImageIcon getIcon(java.lang.String name)
name
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |