Class DefaultPrintCallback
java.lang.Object
com.teamdev.jxbrowser.view.javafx.callback.DefaultPrintCallback
- All Implemented Interfaces:
BrowserAsyncCallback<PrintCallback.Params,,PrintCallback.Action> BrowserCallback,PrintCallback,AsyncCallback<PrintCallback.Params,,PrintCallback.Action> Callback
The default
PrintCallback implementation that allows the engine to show the print preview
dialog.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.browser.callback.PrintCallback
PrintCallback.Action, PrintCallback.Params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidon(PrintCallback.Params params, PrintCallback.Action tell) Invoked when the callback needs a response for the given callback parameters.
-
Constructor Details
-
DefaultPrintCallback
public DefaultPrintCallback()
-
-
Method Details
-
on
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<PrintCallback.Params,PrintCallback.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
-