ice.util.image
Class ImageProxy

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

public class ImageProxy
extends Object

This class is a wrapper class for the java AWT image class. We want to do out own loading of images, and this class is part of that effort.


Method Summary
 boolean compareImage(Image img)
          Returns true if the wrapped image in the ImageProxy is equal to the image supplied.
 void flush()
           
 Graphics getGraphics()
           
 int getHeight(ImageObserver observer)
           
 Image getImage()
           
 Object getProperty(String name, ImageObserver observer)
           
 Image getScaledInstance(int width, int height, int hints)
           
 ImageProducer getSource()
           
 int getWidth(ImageObserver observer)
           
 ImageObserver registerListener(IceImageObserver iio)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getImage

public Image getImage()

registerListener

public ImageObserver registerListener(IceImageObserver iio)

getHeight

public int getHeight(ImageObserver observer)

getWidth

public int getWidth(ImageObserver observer)

getSource

public ImageProducer getSource()

getGraphics

public Graphics getGraphics()

getProperty

public Object getProperty(String name,
                          ImageObserver observer)

getScaledInstance

public Image getScaledInstance(int width,
                               int height,
                               int hints)

flush

public void flush()

compareImage

public boolean compareImage(Image img)
Returns true if the wrapped image in the ImageProxy is equal to the image supplied.