public interface SaveFileCallback extends BrowserAsyncCallback<SaveFileCallback.Params,SaveFileCallback.Action>
You can use this callback to display the file chooser, or provide the file path without displaying any dialogs.
Use the SaveFileCallback.Action.save(Path)
method to provide the file path to the browser.
Use the SaveFileCallback.Action.cancel()
method to cancel the dialog.
If the callback throws an exception, the SaveFileCallback.Action.cancel()
method will be invoked.
Modifier and Type | Interface and Description |
---|---|
static class |
SaveFileCallback.Action
An action providing a response to the
SaveFileCallback . |
static interface |
SaveFileCallback.Params
The parameters of the
SaveFileCallback . |
on