Package org.htmlunit
Interface PrintHandler
- All Superinterfaces:
Serializable
A handler for JavaScript Window.print()
(Printing Spec).
All js execution on page containing the document is blocked during the execution of the print method.
If the PrintHandler for the WebClient is null Window.print() will be a nopp including
not triggering any print events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandlePrint(HtmlPage page) Handle a call to Window.print().
-
Method Details
-
handlePrint
Handle a call to Window.print().- Parameters:
page- theHtmlPageto print
-