Package org.eclipse.swt.browser
Interface CloseWindowListener
-
- All Superinterfaces:
EventListener
,SWTEventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CloseWindowListener extends SWTEventListener
This listener interface may be implemented in order to receive aWindowEvent
notification when aBrowser
is about to be closed and when its host window should be closed by the application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close(WindowEvent event)
This method is called when the window hosting aBrowser
should be closed.
-
-
-
Method Detail
-
close
void close(WindowEvent event)
This method is called when the window hosting aBrowser
should be closed. Application would typically close theShell
that hosts theBrowser
. TheBrowser
is disposed after this notification.The following fields in the
WindowEvent
apply:- (in) widget the
Browser
that is going to be disposed
- Parameters:
event
- theWindowEvent
that specifies theBrowser
that is going to be disposed- Since:
- 3.0
- See Also:
Shell.close()
- (in) widget the
-
-