public static final class OpenFileCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.internal.rpc.OpenFile.Response>
OpenFileCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<com.teamdev.jxbrowser.internal.rpc.OpenFile.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 filePath)
Notifies the browser that the file was selected in the file chooser dialog.
|
isClosed