|
||||||||||
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. |
ImageIcon |
getImage(String name)
Gets an image for the string supplied. |
ImageIcon |
getImage(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 ImageIcon getImage(String name)
name
- the name of the image.
public ImageIcon getImage(URL url)
url
- the url to the image.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |