Interface CreatePopupCallback
- All Superinterfaces:
BrowserCallback
,BrowserSyncCallback<CreatePopupCallback.Params,
,CreatePopupCallback.Response> Callback
,SyncCallback<CreatePopupCallback.Params,
CreatePopupCallback.Response>
public interface CreatePopupCallback
extends BrowserSyncCallback<CreatePopupCallback.Params,CreatePopupCallback.Response>
This callback is invoked when browser decides whether a new popup instance can be created or not.
Return the CreatePopupCallback.Response.create()
response to let the browser to create a new popup.
Return the CreatePopupCallback.Response.suppress()
response to suppress popup.
If the callback throws an exception, the CreatePopupCallback.Response.suppress()
method will be invoked.
Important: the engine will be blocked until you return control from the callback.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The parameters of theCreatePopupCallback
.static interface
A response of theCreatePopupCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.SyncCallback
on