public static final class OpenFilesCallback.Action extends AsyncCallbackAction<Response>
OpenFilesCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<Response> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Notifies the browser that the file chooser dialog should be canceled.
|
void |
open(java.nio.file.Path... filePaths)
Notifies the browser that the files were selected in the file chooser dialog.
|
isClosed
public void open(java.nio.file.Path... filePaths)
filePaths
- the list of the selected file pathspublic void cancel()