public final class DefaultSaveAsPdfCallback extends DefaultCallback implements SaveAsPdfCallback
SaveAsPdfCallback
implementation that shows a file chooser dialog when the
engine requests to save content as PDF.SaveAsPdfCallback.Action, SaveAsPdfCallback.Params
Constructor and Description |
---|
DefaultSaveAsPdfCallback(BrowserView parent) |
Modifier and Type | Method and Description |
---|---|
void |
on(SaveAsPdfCallback.Params params,
SaveAsPdfCallback.Action tell)
Invoked when the callback needs a response for the given callback parameters.
|
public DefaultSaveAsPdfCallback(BrowserView parent)
public void on(SaveAsPdfCallback.Params params, SaveAsPdfCallback.Action tell)
AsyncCallback
on
in interface AsyncCallback<SaveAsPdfCallback.Params,SaveAsPdfCallback.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