Class PrintPdfCallback.Action
java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.print.internal.rpc.PrintPdf.Response>
com.teamdev.jxbrowser.browser.callback.PrintPdfCallback.Action
- Enclosing interface:
- PrintPdfCallback
public static final class PrintPdfCallback.Action
extends AsyncCallbackAction<com.teamdev.jxbrowser.print.internal.rpc.PrintPdf.Response>
An action providing a response to the
PrintPdfCallback
.- Since:
- 7.13
-
Constructor Summary
-
Method Summary
Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction
isClosed
-
Constructor Details
-
Action
-
-
Method Details
-
proceed
Applies the configured print settings and notifies the browser to proceed with printing.- Throws:
IllegalStateException
- when printing on the PDF printer and the path to the destination PDF file is not configured
-
cancel
public void cancel()Notifies the browser to cancel the printing.
-