CloseWindowListener

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

@see Browser#addCloseWindowListener(CloseWindowListener) @see Browser#removeCloseWindowListener(CloseWindowListener) @see OpenWindowListener @see VisibilityWindowListener

@since 3.0

interface CloseWindowListener : SWTEventListener {}

Members

Functions

close
void close(WindowEvent event)

This method is called when the window hosting a {@link Browser} should be closed. Application would typically close the {@link org.eclipse.swt.widgets.Shell} that hosts the <code>Browser</code>. The <code>Browser</code> is disposed after this notification.

Meta