Package se.conciliate.extensions.print
Interface PrintService
public interface PrintService
A service that can print models.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidshowPrintDialog(Frame parent) Show the print dialog allowing the user to select options.default voidshowPrintDialog(Frame parent, Map<String, Object> options) default voidshowPrintDialog(Frame parent, Page page, Path path, boolean openWhenComplete, Runnable onComplete) Show the print dialog for printing a specific page.
-
Field Details
-
OPTION_DRAW_SHADOWS
- See Also:
-
-
Method Details
-
showPrintDialog
Show the print dialog allowing the user to select options.- Parameters:
parent- the window that should be the parent for the options dialog
-
showPrintDialog
default void showPrintDialog(Frame parent, Page page, Path path, boolean openWhenComplete, Runnable onComplete) Show the print dialog for printing a specific page. The user will not get to choose which models to print. lite specific- Parameters:
path- The path where the printed PDF is stored. If null a file chooser will be shown to let the user choose the path.
-
showPrintDialog
-