Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swt.browser
Interface CloseWindowListener

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

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

This listener interface may be implemented in order to receive a `WindowEvent` notification when a `Browser` is about to be closed and when its host window should be closed by the application.

Since:
  3.0
See Also:
  `Browser.addCloseWindowListener(CloseWindowListener)`, `Browser.removeCloseWindowListener(CloseWindowListener)`, `OpenWindowListener`, `VisibilityWindowListener`

Method Summary
`void` | `close(WindowEvent event)` This method is called when the window hosting a `Browser` should be closed.

Method Detail

### close

    public void close(WindowEvent event)

  This method is called when the window hosting a `Browser` should be closed. Application would typically close the `Shell` that hosts the `Browser`. The `Browser` is disposed after this notification.

  The following fields in the `WindowEvent` apply:

  - (in) widget the `Browser` that is going to be disposed

  Parameters:
    `event` - the `WindowEvent` that specifies the `Browser` that is going to be disposed
  Since:
    3.0
  See Also:
    `Shell.close()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.