|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageGetter
An interface for a class that can create and load iamges
Method Summary | |
---|---|
java.awt.Image |
createImage(int width,
int height)
Create a new image with the given dimensions |
java.awt.Image |
getIm(java.lang.String fileName)
Get the file with the given filename from the filesystem. |
boolean |
prepareImage(java.awt.Image i,
java.awt.image.ImageObserver io)
Tell an image to start loading |
Method Detail |
---|
java.awt.Image getIm(java.lang.String fileName)
fileName
- the filename
java.awt.Image createImage(int width, int height)
width
- the width of the new Imageheight
- the height of the new Image
boolean prepareImage(java.awt.Image i, java.awt.image.ImageObserver io)
i
- the Image itselfio
- an ImageObserver that watches
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |