cookxml.cookswt.util
Class ImageDisposeListener

java.lang.Object
  extended bycookxml.cookswt.util.ImageDisposeListener
All Implemented Interfaces:
DisposeListener, EventListener, SWTEventListener

public class ImageDisposeListener
extends Object
implements DisposeListener

This DisposeListener attempts to dispose an image resource when the Widget using it is disposed.

Since:
CookSwt 1.0
See Also:
Image, SwtUtils.attachImageDisposeListener(org.eclipse.swt.widgets.Widget,org.eclipse.swt.graphics.Image)

Constructor Summary
ImageDisposeListener(Image image)
           
 
Method Summary
 void widgetDisposed(DisposeEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageDisposeListener

public ImageDisposeListener(Image image)
Method Detail

widgetDisposed

public void widgetDisposed(DisposeEvent e)
Specified by:
widgetDisposed in interface DisposeListener