|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecterland.util.ImageHandlerForApplication
public class ImageHandlerForApplication
Loads images using an Component object for the loading mechanism
Field Summary | |
---|---|
protected Component |
component
Component object that should be used for the image loading |
protected String |
imageDir
Directory where all images are stored |
protected LinkedList |
images
Vector with all loaded images, see ImageData |
Constructor Summary | |
---|---|
ImageHandlerForApplication(Component component,
String imageDir)
Creates a new instance |
Method Summary | |
---|---|
Image |
getImage(String imagename)
Get a specific image |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Component component
protected String imageDir
protected LinkedList images
ImageData
Constructor Detail |
---|
public ImageHandlerForApplication(Component component, String imageDir)
component
- Component object to use for the loadingimageDir
- Directory where all images are storedMethod Detail |
---|
public Image getImage(String imagename)
ImageHandlerInterface
getImage
in interface ImageHandlerInterface
imagename
- name of the image to get
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |