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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe parameters of theCreatePopupCallback.static interfaceA response of theCreatePopupCallback. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.SyncCallback
on