Class DefaultShowContextMenuCallback
java.lang.Object
com.teamdev.jxbrowser.view.WidgetHolder<BrowserView>
com.teamdev.jxbrowser.view.swing.callback.DefaultCallback
com.teamdev.jxbrowser.view.swing.callback.DefaultShowContextMenuCallback
- All Implemented Interfaces:
BrowserAsyncCallback<ShowContextMenuCallback.Params,
,ShowContextMenuCallback.Action> BrowserCallback
,ShowContextMenuCallback
,AsyncCallback<ShowContextMenuCallback.Params,
,ShowContextMenuCallback.Action> Callback
public final class DefaultShowContextMenuCallback
extends DefaultCallback
implements ShowContextMenuCallback
The default
ShowContextMenuCallback
implementation that displays the context menu on the
loaded web page.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.browser.callback.ShowContextMenuCallback
ShowContextMenuCallback.Action, ShowContextMenuCallback.Params
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
on
(ShowContextMenuCallback.Params params, ShowContextMenuCallback.Action tell) Invoked when the callback needs a response for the given callback parameters.
-
Constructor Details
-
DefaultShowContextMenuCallback
-
-
Method Details
-
on
Description copied from interface:AsyncCallback
Invoked 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:
on
in interfaceAsyncCallback<ShowContextMenuCallback.Params,
ShowContextMenuCallback.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
-