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