|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bounce.image.ImageLoader
public class ImageLoader
Loads Images from file and stores the images in a list for future reference.
| Constructor Summary | |
|---|---|
protected |
ImageLoader()
Constructs the ImageLoader object. |
| Method Summary | |
|---|---|
static ImageLoader |
get()
Returns the single reference to the ImageLoader. |
javax.swing.ImageIcon |
getImage(java.lang.String name)
Gets an image for the string supplied. |
javax.swing.ImageIcon |
getImage(java.net.URL url)
Gets an image for the url supplied. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ImageLoader()
| Method Detail |
|---|
public static ImageLoader get()
public javax.swing.ImageIcon getImage(java.lang.String name)
name - the name of the image.
public javax.swing.ImageIcon getImage(java.net.URL url)
url - the url to the image.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||