Class DefaultOpenExtensionActionPopupCallback
java.lang.Object
com.teamdev.jxbrowser.view.WidgetHolder<BrowserView>
com.teamdev.jxbrowser.view.swt.callback.DefaultCallback
com.teamdev.jxbrowser.view.swt.callback.internal.OpenBrowserPopupCallback
com.teamdev.jxbrowser.view.swt.callback.DefaultOpenExtensionActionPopupCallback
- All Implemented Interfaces:
BrowserAsyncCallback<OpenExtensionActionPopupCallback.Params,,OpenExtensionActionPopupCallback.Action> BrowserCallback,OpenExtensionActionPopupCallback,AsyncCallback<OpenExtensionActionPopupCallback.Params,,OpenExtensionActionPopupCallback.Action> Callback
public class DefaultOpenExtensionActionPopupCallback
extends com.teamdev.jxbrowser.view.swt.callback.internal.OpenBrowserPopupCallback
implements OpenExtensionActionPopupCallback
The default
OpenExtensionActionPopupCallback implementation that shows a
new window with the content of the extension action popup.- Since:
- 8.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.browser.callback.OpenExtensionActionPopupCallback
OpenExtensionActionPopupCallback.Action, OpenExtensionActionPopupCallback.Params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when the callback needs a response for the given callback parameters.
-
Constructor Details
-
DefaultOpenExtensionActionPopupCallback
-
-
Method Details
-
on
public void on(OpenExtensionActionPopupCallback.Params params, OpenExtensionActionPopupCallback.Action tell) Description copied from interface:AsyncCallbackInvoked when the callback needs a response for the given callback parameters. The response can be provided asynchronously from a different thread or before the method returns. The response can be provided only once.- Specified by:
onin interfaceAsyncCallback<OpenExtensionActionPopupCallback.Params,OpenExtensionActionPopupCallback.Action> - Parameters:
params- the object that represents the callback parameterstell- the object that can be used to provide the callback response. One of its methods must be invoked to provide the response. Once the response has been provided, any call to the object methods will result in theIllegalStateException
-