Eclipse Platform
2.0

org.eclipse.swt.events
Interface DisposeListener

All Superinterfaces:
EventListener, org.eclipse.swt.internal.SWTEventListener

public interface DisposeListener
extends org.eclipse.swt.internal.SWTEventListener

Classes which implement this interface provide a method that deals with the event that is generated when a widget is disposed.

After creating an instance of a class that implements this interface it can be added to a widget using the addDisposeListener method and removed using the removeDisposeListener method. When a widget is disposed, the widgetDisposed method will be invoked.

See Also:
DisposeEvent

Method Summary
 void widgetDisposed(DisposeEvent e)
          Sent when the widget is disposed.
 

Method Detail

widgetDisposed

public void widgetDisposed(DisposeEvent e)
Sent when the widget is disposed.

Parameters:
e - an event containing information about the dispose

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.