- 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 OpenWindowListener extends SWTEventListenerThis listener interface may be implemented in order to receive a
WindowEventnotification when a new
Browserneeds to be provided by the application.
void open(WindowEvent event)This method is called when a new window needs to be created.
Browsercan be passed to the event.browser field to host the content of a new window.
A standalone system browser is used to host the new window if the event.required field value is
falseand if the event.browser field is left
null. The event.required field is
trueon platforms that don't support a standalone system browser for new window requests.
The navigation is cancelled if the event.required field is set to
trueand the event.browser field is left
The following fields in the
WindowEventthat needs to be passed a new
Browserto handle the new window request