Package org.eclipse.swt.browser
Interface CloseWindowListener
- All Superinterfaces:
EventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose(WindowEvent event) This method is called when the window hosting aBrowsershould be closed.
-
Method Details
-
close
This method is called when the window hosting aBrowsershould be closed. Application would typically close theShellthat hosts theBrowser. TheBrowseris disposed after this notification.The following fields in the
WindowEventapply:- (in) widget the
Browserthat is going to be disposed
- Parameters:
event- theWindowEventthat specifies theBrowserthat is going to be disposed- Since:
- 3.0
- See Also:
- (in) widget the
-