de.enough.polish.ui
Interface ImageConsumer

All Known Implementing Classes:
ChoiceItem, CommandItem, FakeIconCustomItem, Gauge, IconCustomItem, IconItem, ImageBackground, Ticker, TiledImageBackground

public interface ImageConsumer

Defines the interface of any object which needs images.

Author:
Robert Virkus, robert@enough.de
 history
        05-Jan-2004 - rob creation
 

Method Summary
 void setImage(java.lang.String name, javax.microedition.lcdui.Image image)
          sets the image which has been loaded in the background.
 

Method Detail

setImage

void setImage(java.lang.String name,
              javax.microedition.lcdui.Image image)
sets the image which has been loaded in the background.

Parameters:
name - the name of the image. This allows the image-consumer to differentiate between several images.
image - the image which was loaded in the background thread.