Mercurial > projects > dwt-mac
diff dwt/browser/CloseWindowListener.d @ 125:5583f8eeee6c
Synced mozilla with dwt-linux
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 16 Jan 2009 12:49:08 +0100 |
parents | d8635bb48c7c |
children |
line wrap: on
line diff
--- a/dwt/browser/CloseWindowListener.d Fri Jan 16 12:19:08 2009 +0100 +++ b/dwt/browser/CloseWindowListener.d Fri Jan 16 12:49:08 2009 +0100 @@ -7,15 +7,13 @@ * * Contributors: * IBM Corporation - initial API and implementation - * * Port to the D programming language: - * Jacob Carlborg <doob@me.com> + * John Reimer <terminal.node@gmail.com> *******************************************************************************/ module dwt.browser.CloseWindowListener; +import dwt.internal.DWTEventListener; import dwt.browser.WindowEvent; -import dwt.dwthelper.utils; -import dwt.internal.DWTEventListener; /** * This listener interface may be implemented in order to receive @@ -32,23 +30,23 @@ */ public interface CloseWindowListener : DWTEventListener { - /** - * This method is called when the window hosting a {@link Browser} should be closed. - * Application would typically close the {@link dwt.widgets.Shell} that - * hosts the <code>Browser</code>. The <code>Browser</code> is disposed after this - * notification. - * - * <p>The following fields in the <code>WindowEvent</code> apply: - * <ul> - * <li>(in) widget the <code>Browser</code> that is going to be disposed - * </ul></p> - * - * @param event the <code>WindowEvent</code> that specifies the <code>Browser</code> - * that is going to be disposed - * - * @see dwt.widgets.Shell#close() - * - * @since 3.0 - */ - public void close (WindowEvent event); +/** + * This method is called when the window hosting a {@link Browser} should be closed. + * Application would typically close the {@link dwt.widgets.Shell} that + * hosts the <code>Browser</code>. The <code>Browser</code> is disposed after this + * notification. + * + * <p>The following fields in the <code>WindowEvent</code> apply: + * <ul> + * <li>(in) widget the <code>Browser</code> that is going to be disposed + * </ul></p> + * + * @param event the <code>WindowEvent</code> that specifies the <code>Browser</code> + * that is going to be disposed + * + * @see dwt.widgets.Shell#close() + * + * @since 3.0 + */ +public void close(WindowEvent event); }