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