|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.lenkaspace.creeper.images.CRImageProvider
public class CRImageProvider
Loads images from the same folder where it is placed. Maintains a list of loaded images and provides images to other classes. Needs to be subclassed and the subclass placed to a folder where a project contains its own images.
| Constructor Summary | |
|---|---|
CRImageProvider()
|
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
getImage(java.lang.String imageFileName)
Get an image from the folder where this class (or its sublclass) is located |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CRImageProvider()
| Method Detail |
|---|
public java.awt.image.BufferedImage getImage(java.lang.String imageFileName)
imageFileName - String file name of the image, including its extension
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||