org.apache.pivot.wtk.media
Class Image.ImageListenerList

java.lang.Object
  extended by org.apache.pivot.util.ListenerList<ImageListener>
      extended by org.apache.pivot.wtk.media.Image.ImageListenerList
All Implemented Interfaces:
Iterable<ImageListener>, ImageListener
Enclosing class:
Image

protected static class Image.ImageListenerList
extends ListenerList<ImageListener>
implements ImageListener

Image listener list.


Constructor Summary
protected Image.ImageListenerList()
           
 
Method Summary
 void baselineChanged(Image image, int previousBaseline)
          Called when an image's baseline has changed.
 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.
 
Methods inherited from class org.apache.pivot.util.ListenerList
add, contains, get, getLength, isEmpty, iterator, remove, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Image.ImageListenerList

protected Image.ImageListenerList()
Method Detail

sizeChanged

public void sizeChanged(Image image,
                        int previousWidth,
                        int previousHeight)
Description copied from interface: ImageListener
Called when an image's size has changed.

Specified by:
sizeChanged in interface ImageListener

baselineChanged

public void baselineChanged(Image image,
                            int previousBaseline)
Description copied from interface: ImageListener
Called when an image's baseline has changed.

Specified by:
baselineChanged in interface ImageListener

regionUpdated

public void regionUpdated(Image image,
                          int x,
                          int y,
                          int width,
                          int height)
Description copied from interface: ImageListener
Called when a region within an image needs to be repainted.

Specified by:
regionUpdated in interface ImageListener