public static final class PrintPdfCallback.Action extends AsyncCallbackAction<Response>
PrintPdfCallback.| Constructor and Description |
|---|
Action(java.util.function.Consumer<Response> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Notifies the browser to cancel the printing.
|
void |
proceed(Printer<?> printer)
Applies the configured print settings and notifies the browser to proceed with printing.
|
isClosedpublic void proceed(Printer<?> printer)
java.lang.IllegalStateException - when printing on the PDF printer and the path to the destination PDF file is not
configuredpublic void cancel()