cookxml.cookswt.util
Class FontDisposeListener

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

public class FontDisposeListener
extends Object
implements DisposeListener

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

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

Constructor Summary
FontDisposeListener(Font font)
           
 
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

FontDisposeListener

public FontDisposeListener(Font font)
Method Detail

widgetDisposed

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