de.enough.polish.ui
Class ImageQueue

java.lang.Object
  extended by de.enough.polish.ui.ImageQueue

public class ImageQueue
extends java.lang.Object

Provides a queue for loading images in the background.

Copyright Enough Software 2004 - 2008

 history
        19-Apr-2004 - rob creation
 

Author:
Robert Virkus, robert@enough.de

Field Summary
 boolean cache
           
 
Constructor Summary
ImageQueue(ImageConsumer consumer, boolean cache)
           
 
Method Summary
 void addConsumer(ImageConsumer consumer)
           
 void notifyConsumers(java.lang.String name, javax.microedition.lcdui.Image image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

public boolean cache
Constructor Detail

ImageQueue

public ImageQueue(ImageConsumer consumer,
                  boolean cache)
Method Detail

addConsumer

public void addConsumer(ImageConsumer consumer)

notifyConsumers

public void notifyConsumers(java.lang.String name,
                            javax.microedition.lcdui.Image image)