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