Class PrintCallback.Action
java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.print.internal.rpc.Print.Response>
com.teamdev.jxbrowser.browser.callback.PrintCallback.Action
- Enclosing interface:
- PrintCallback
public static final class PrintCallback.Action
extends AsyncCallbackAction<com.teamdev.jxbrowser.print.internal.rpc.Print.Response>
An action providing a response to the
PrintCallback.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction
isClosed
-
Constructor Details
-
Action
-
-
Method Details
-
showPrintPreview
public void showPrintPreview()Notifies the browser to display the print preview dialog. -
print
public void print()Notifies the browser to proceed with the printing. ThePrintHtmlCallbackorPrintPdfCallbackwill be invoked to configure the print settings.If none of these callbacks is registered, then the printing is canceled.
-
cancel
public void cancel()Notifies the browser that the printing should be canceled.
-