org.apache.pivot.wtk.media
Interface ImageListener

All Known Implementing Classes:
Image.ImageListenerList

public interface ImageListener

Image listener interface.


Method Summary
 void regionUpdated(Image image, int x, int y, int width, int height)
          Called when a region within an image needs to be repainted.
 void sizeChanged(Image image, int previousWidth, int previousHeight)
          Called when an image's size has changed.
 

Method Detail

sizeChanged

void sizeChanged(Image image,
                 int previousWidth,
                 int previousHeight)
Called when an image's size has changed.

Parameters:
image -
previousWidth -
previousHeight -

regionUpdated

void regionUpdated(Image image,
                   int x,
                   int y,
                   int width,
                   int height)
Called when a region within an image needs to be repainted.

Parameters:
image -
x -
y -
width -
height -