Package com.teamdev.jxbrowser.print
Interface PrintSettings
- All Known Subinterfaces:
PdfPrinter.HtmlSettings
,PdfPrinter.PdfSettings
,PdfPrinter.Settings<T>
,SystemPrinter.HtmlSettings
,SystemPrinter.PdfSettings
,SystemPrinter.Settings<T>
public interface PrintSettings
A common interface for the concrete print job settings to implement.
- Since:
- 7.13
-
Method Summary
-
Method Details
-
apply
void apply()Applies the configured print settings. You should call this method to regenerate the internal print preview using the configured settings and update the total page count to be printed.This method is invoked automatically when you choose to proceed in the
PrintPdfCallback
orPrintHtmlCallback
.- Throws:
IllegalArgumentException
- if the browser fails to apply the configured settings.ObjectClosedException
- if the current printing operation has been completed
-