ice.util.image
Class ImageFactory

java.lang.Object
  extended byice.util.image.ImageFactory

public class ImageFactory
extends Object

Factory class for images. This will eventually use a custom ThreadPool to manually load images.


Constructor Summary
ImageFactory()
           
 
Method Summary
static int checkImage(Toolkit t, ImageProxy ip, int w, int h, IceImageObserver obs)
           
static ImageProxy createImage(int w, int h, Component comp)
           
static ImageProxy getImage(Toolkit t, URL u)
           
static boolean prepareImage(Toolkit t, ImageProxy ip, int w, int h, IceImageObserver obs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFactory

public ImageFactory()
Method Detail

getImage

public static ImageProxy getImage(Toolkit t,
                                  URL u)

prepareImage

public static boolean prepareImage(Toolkit t,
                                   ImageProxy ip,
                                   int w,
                                   int h,
                                   IceImageObserver obs)

checkImage

public static int checkImage(Toolkit t,
                             ImageProxy ip,
                             int w,
                             int h,
                             IceImageObserver obs)

createImage

public static ImageProxy createImage(int w,
                                     int h,
                                     Component comp)