cookxml.cookswt.util
Class CursorDisposeListener

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

public class CursorDisposeListener
extends Object
implements DisposeListener

This DisposeListener attempts to dispose a color resource when the Widget using it is disposed.

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

Constructor Summary
CursorDisposeListener(Cursor cursor)
           
 
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

CursorDisposeListener

public CursorDisposeListener(Cursor cursor)
Method Detail

widgetDisposed

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