erland.util
Class ImageHandlerForApplicationFileSystem
java.lang.Object
erland.util.ImageHandlerForApplicationFileSystem
- All Implemented Interfaces:
- ImageHandlerInterface
public class ImageHandlerForApplicationFileSystem
- extends Object
- implements ImageHandlerInterface
Loads images using an Component object for the loading mechanism
- Author:
- Erland Isaksson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageHandlerForApplicationFileSystem
public ImageHandlerForApplicationFileSystem(Component component,
String imageDir)
- Creates a new instance
- Parameters:
component
- Applet object to use for the loadingimageDir
- Directory where all images are stored
getImage
public Image getImage(String imagename)
- Description copied from interface:
ImageHandlerInterface
- Get a specific image
- Specified by:
getImage
in interface ImageHandlerInterface
- Parameters:
imagename
- name of the image to get
- Returns:
- Image object for the specified image name
Copyright © 2003-2005 Erland Isaksson. All Rights Reserved.