public abstract class CefPrintHandlerAdapter extends CefNativeAdapter implements CefPrintHandler
| 构造器和说明 |
|---|
CefPrintHandlerAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
onPrintDialog(boolean has_selection,
CefPrintDialogCallback callback)
Show the print dialog.
|
boolean |
onPrintJob(String document_name,
String pdf_file_path,
CefPrintJobCallback callback)
Send the print job to the printer.
|
void |
onPrintReset()
Reset client state related to printing.
|
void |
onPrintSettings(CefPrintSettings settings,
boolean get_defaults)
Synchronize |settings| with client state.
|
void |
onPrintStart(CefBrowser browser)
Called when printing has started for the specified |browser|.
|
getNativeRef, setNativeRefclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNativeRef, setNativeRefpublic void onPrintStart(CefBrowser browser)
CefPrintHandleronPrintStart 在接口中 CefPrintHandlerpublic void onPrintSettings(CefPrintSettings settings, boolean get_defaults)
CefPrintHandleronPrintSettings 在接口中 CefPrintHandlerpublic boolean onPrintDialog(boolean has_selection,
CefPrintDialogCallback callback)
CefPrintHandleronPrintDialog 在接口中 CefPrintHandlerpublic boolean onPrintJob(String document_name, String pdf_file_path, CefPrintJobCallback callback)
CefPrintHandleronPrintJob 在接口中 CefPrintHandlerpublic void onPrintReset()
CefPrintHandleronPrintReset 在接口中 CefPrintHandlerCopyright © 2017. All rights reserved.