Interface OpenFilesCallback
- All Superinterfaces:
AsyncCallback<OpenFilesCallback.Params,
,OpenFilesCallback.Action> BrowserAsyncCallback<OpenFilesCallback.Params,
,OpenFilesCallback.Action> BrowserCallback
,Callback
- All Known Implementing Classes:
DefaultOpenFilesCallback
,DefaultOpenFilesCallback
,DefaultOpenFilesCallback
public interface OpenFilesCallback
extends BrowserAsyncCallback<OpenFilesCallback.Params,OpenFilesCallback.Action>
This callback is invoked when the browser requests to display a file chooser dialog to open
several files. You can use this callback to display the file chooser, or provide the files
without displaying any dialogs.
Use the OpenFilesCallback.Action.open(Path...)
method to provide the selected files to the browser.
Use the OpenFilesCallback.Action.cancel()
method to cancel the dialog.
If the callback throws an exception, the OpenFilesCallback.Action.cancel()
method will be invoked.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
An action providing a response to theOpenFilesCallback
.static interface
The parameters of theOpenFilesCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on