examples.cityguide
Class ImageManager

java.lang.Object
  extended by examples.cityguide.ImageManager

public class ImageManager
extends java.lang.Object

Lets you load image from resource and stores it in cache for later usage


Method Summary
 javax.microedition.lcdui.Image getImage(java.lang.String name)
          Load image from resource and store it in cache.
static ImageManager getInstance()
           
 void loadImagesCache(java.util.Enumeration e)
          Batch load images into cache
 void loadImagesCache(java.lang.String[] names)
          Batch load images into cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ImageManager getInstance()

getImage

public javax.microedition.lcdui.Image getImage(java.lang.String name)
Load image from resource and store it in cache.


loadImagesCache

public void loadImagesCache(java.lang.String[] names)
Batch load images into cache


loadImagesCache

public void loadImagesCache(java.util.Enumeration e)
Batch load images into cache