|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.hisee.resource.ResourceManager
Helper class to provide resources (stored in the same directory) to the rest of the program
| Constructor Summary | |
ResourceManager()
|
|
| Method Summary | |
static java.awt.Image |
getImage(java.lang.String name)
Retrieve an Image based on its file name |
static javax.swing.ImageIcon |
getImageIcon(java.lang.String name)
Retrieve an ImageIcon based on its file name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceManager()
| Method Detail |
public static javax.swing.ImageIcon getImageIcon(java.lang.String name)
name - name of the image file to retrieve
public static java.awt.Image getImage(java.lang.String name)
name - name of the image file to retrieve
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||