public static final class SaveAsPdfCallback.Action extends AsyncCallbackAction<Response>
SaveAsPdfCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<Response> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Notifies the browser that the save file dialog was cancelled.
|
void |
save(java.nio.file.Path filePath)
Notifies the browser that the save file dialog was closed and the given
file was
selected. |
isClosed
public void save(java.nio.file.Path filePath)
file
was
selected. The file
might not exist, but the directory where the given file
is located must have the write permissions for the process where the engine is
running.public void cancel()