public final class DefaultPrintCallback extends java.lang.Object implements PrintCallback
PrintCallback
implementation that allows the engine to show the print preview
dialog.PrintCallback.Action, PrintCallback.Params
Constructor and Description |
---|
DefaultPrintCallback() |
Modifier and Type | Method and Description |
---|---|
void |
on(PrintCallback.Params params,
PrintCallback.Action tell)
Invoked when the callback needs a response for the given callback parameters.
|
public void on(PrintCallback.Params params, PrintCallback.Action tell)
AsyncCallback
on
in interface AsyncCallback<PrintCallback.Params,PrintCallback.Action>
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 the IllegalStateException