|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.widgetideas.graphics.client.ImageLoader
public class ImageLoader
Provides a mechanism for deferred execution of a callback method once all specified Images are loaded.
Nested Class Summary | |
---|---|
static interface |
ImageLoader.CallBack
Interface to allow anonymous instantiation of a CallBack Object with method that gets invoked when all the images are loaded. |
Method Summary | |
---|---|
static void |
loadImages(java.lang.String[] urls,
ImageLoader.CallBack cb)
Takes in an array of url Strings corresponding to the images needed to be loaded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void loadImages(java.lang.String[] urls, ImageLoader.CallBack cb)
urls
- Array of urls for the images that need to be loadedcb
- CallBack object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |