org.cef.callback.CefPdfPrintCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-cef2 Show documentation
Show all versions of java-cef2 Show documentation
java-org.cef 2 maven support by gopriaj
The newest version!
// Copyright (c) 2017 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
package org.cef.callback;
/**
* Callback interface for CefBrowser.PrintToPDF(). The methods of this class
* will be called on the browser process UI thread.
*/
public interface CefPdfPrintCallback {
/**
* Method that will be executed when the PDF printing has completed. |path|
* is the output path. |ok| will be true if the printing completed
* successfully or false otherwise.
* @param path The path of the PDF file that was written.
* @param ok True if printing completed or false otherwise.
*/
public abstract void onPdfPrintFinished(String path, boolean ok);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy