- java.lang.Object
-
- org.icepdf.ri.common.print.PrintHelperFactoryImpl
-
- All Implemented Interfaces:
PrintHelperFactory
public final class PrintHelperFactoryImpl extends Object implements PrintHelperFactory
A factory of PrintHelperImpl
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PrintHelpercreatePrintHelper(Container container, PageTree pageTree, float userRotation, DocAttributeSet docAttributeSet, PrintRequestAttributeSet printRequestAttributeSet)Creates a newPrintHelperinstance using the specified doc and print attribute sets.static PrintHelperFactoryImplgetInstance()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.icepdf.ri.common.print.PrintHelperFactory
createPrintHelper, createPrintHelper
-
-
-
-
Method Detail
-
getInstance
public static PrintHelperFactoryImpl getInstance()
- Returns:
- The factory instance
-
createPrintHelper
public PrintHelper createPrintHelper(Container container, PageTree pageTree, float userRotation, DocAttributeSet docAttributeSet, PrintRequestAttributeSet printRequestAttributeSet)
Description copied from interface:PrintHelperFactoryCreates a newPrintHelperinstance using the specified doc and print attribute sets. This constructor offers the most flexibility as it allows the attributes sets to be pre configured. This method should only be used by advanced users.- Specified by:
createPrintHelperin interfacePrintHelperFactory- Parameters:
container- parent container uses to center print dialog.pageTree- document page tree.userRotation- rotation of viewdocAttributeSet- MediaSizeName constant of paper size to print to.printRequestAttributeSet- quality of the print job, draft, quality etc.
-
-