Class DefaultRequestPdfDocumentPasswordCallback
java.lang.Object
com.teamdev.jxbrowser.view.WidgetHolder<BrowserView>
com.teamdev.jxbrowser.view.swt.callback.DefaultCallback
com.teamdev.jxbrowser.view.swt.callback.DefaultRequestPdfDocumentPasswordCallback
- All Implemented Interfaces:
BrowserAsyncCallback<RequestPdfDocumentPasswordCallback.Params,
,RequestPdfDocumentPasswordCallback.Action> BrowserCallback
,RequestPdfDocumentPasswordCallback
,AsyncCallback<RequestPdfDocumentPasswordCallback.Params,
,RequestPdfDocumentPasswordCallback.Action> Callback
public final class DefaultRequestPdfDocumentPasswordCallback
extends DefaultCallback
implements RequestPdfDocumentPasswordCallback
The default
RequestPdfDocumentPasswordCallback
implementation that shows the PDF
viewer password dialog.- Since:
- 7.27
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.browser.callback.RequestPdfDocumentPasswordCallback
RequestPdfDocumentPasswordCallback.Action, RequestPdfDocumentPasswordCallback.Params
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
on
(RequestPdfDocumentPasswordCallback.Params params, RequestPdfDocumentPasswordCallback.Action tell) Invoked when the callback needs a response for the given callback parameters.
-
Constructor Details
-
DefaultRequestPdfDocumentPasswordCallback
-
-
Method Details
-
on
public void on(RequestPdfDocumentPasswordCallback.Params params, RequestPdfDocumentPasswordCallback.Action tell) 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<RequestPdfDocumentPasswordCallback.Params,
RequestPdfDocumentPasswordCallback.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
-