erland.util
Class ImageHandlerForApplet
java.lang.Object
erland.util.ImageHandlerForApplet
- All Implemented Interfaces:
- ImageHandlerInterface
public class ImageHandlerForApplet
- extends Object
- implements ImageHandlerInterface
Loads images using an Applet 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 |
ImageHandlerForApplet
public ImageHandlerForApplet(Applet applet,
String imageDir)
- Creates a new instance
- Parameters:
applet
- 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.