Package net.sf.jasperreports.export
Class SimplePrintServiceExporterConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleExporterConfiguration
-
- net.sf.jasperreports.export.SimpleGraphics2DExporterConfiguration
-
- net.sf.jasperreports.export.SimplePrintServiceExporterConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration,ExporterConfiguration,Graphics2DExporterConfiguration,PrintServiceExporterConfiguration
public class SimplePrintServiceExporterConfiguration extends SimpleGraphics2DExporterConfiguration implements PrintServiceExporterConfiguration
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
-
-
Constructor Summary
Constructors Constructor Description SimplePrintServiceExporterConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrintRequestAttributeSetgetPrintRequestAttributeSet()Returns an instance of javax.print.attribute.PrintRequestAttributeSet.PrintServicegetPrintService()Returns an instance of javax.print.PrintService, useful if users do not want JPS to lookup for an available print service.PrintServiceAttributeSetgetPrintServiceAttributeSet()Returns an instance of javax.print.attribute.PrintServiceAttributeSet.BooleanisDisplayPageDialog()Returns a boolean value specifying whether a page setup dialog should be opened before printing.BooleanisDisplayPageDialogOnlyOnce()Returns a boolean value specifying whether a page setup dialog should be opened only once before printing in a batch export job.BooleanisDisplayPrintDialog()Returns a boolean value specifying whether a print setup dialog should be opened before printing.BooleanisDisplayPrintDialogOnlyOnce()Returns a boolean value specifying whether a print setup dialog should be opened only once in a batch export job.voidisDisplayPrintDialogOnlyOnce(Boolean isDisplayPrintDialogOnlyOnce)voidsetDisplayPageDialog(Boolean isDisplayPageDialog)voidsetDisplayPageDialogOnlyOnce(Boolean isDisplayPageDialogOnlyOnce)voidsetDisplayPrintDialog(Boolean isDisplayPrintDialog)voidsetPrintRequestAttributeSet(PrintRequestAttributeSet printRequestAttributeSet)voidsetPrintService(PrintService printService)voidsetPrintServiceAttributeSet(PrintServiceAttributeSet printServiceAttributeSet)-
Methods inherited from class net.sf.jasperreports.export.SimpleCommonExportConfiguration
isOverrideHints, setOverrideHints
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
-
-
-
Method Detail
-
getPrintRequestAttributeSet
public PrintRequestAttributeSet getPrintRequestAttributeSet()
Description copied from interface:PrintServiceExporterConfigurationReturns an instance of javax.print.attribute.PrintRequestAttributeSet.- Specified by:
getPrintRequestAttributeSetin interfacePrintServiceExporterConfiguration
-
setPrintRequestAttributeSet
public void setPrintRequestAttributeSet(PrintRequestAttributeSet printRequestAttributeSet)
-
getPrintServiceAttributeSet
public PrintServiceAttributeSet getPrintServiceAttributeSet()
Description copied from interface:PrintServiceExporterConfigurationReturns an instance of javax.print.attribute.PrintServiceAttributeSet.- Specified by:
getPrintServiceAttributeSetin interfacePrintServiceExporterConfiguration
-
setPrintServiceAttributeSet
public void setPrintServiceAttributeSet(PrintServiceAttributeSet printServiceAttributeSet)
-
isDisplayPageDialog
public Boolean isDisplayPageDialog()
Description copied from interface:PrintServiceExporterConfigurationReturns a boolean value specifying whether a page setup dialog should be opened before printing.- Specified by:
isDisplayPageDialogin interfacePrintServiceExporterConfiguration
-
setDisplayPageDialog
public void setDisplayPageDialog(Boolean isDisplayPageDialog)
-
isDisplayPageDialogOnlyOnce
public Boolean isDisplayPageDialogOnlyOnce()
Description copied from interface:PrintServiceExporterConfigurationReturns a boolean value specifying whether a page setup dialog should be opened only once before printing in a batch export job.- Specified by:
isDisplayPageDialogOnlyOncein interfacePrintServiceExporterConfiguration
-
setDisplayPageDialogOnlyOnce
public void setDisplayPageDialogOnlyOnce(Boolean isDisplayPageDialogOnlyOnce)
-
isDisplayPrintDialog
public Boolean isDisplayPrintDialog()
Description copied from interface:PrintServiceExporterConfigurationReturns a boolean value specifying whether a print setup dialog should be opened before printing.- Specified by:
isDisplayPrintDialogin interfacePrintServiceExporterConfiguration
-
setDisplayPrintDialog
public void setDisplayPrintDialog(Boolean isDisplayPrintDialog)
-
isDisplayPrintDialogOnlyOnce
public Boolean isDisplayPrintDialogOnlyOnce()
Description copied from interface:PrintServiceExporterConfigurationReturns a boolean value specifying whether a print setup dialog should be opened only once in a batch export job.- Specified by:
isDisplayPrintDialogOnlyOncein interfacePrintServiceExporterConfiguration
-
isDisplayPrintDialogOnlyOnce
public void isDisplayPrintDialogOnlyOnce(Boolean isDisplayPrintDialogOnlyOnce)
-
getPrintService
public PrintService getPrintService()
Description copied from interface:PrintServiceExporterConfigurationReturns an instance of javax.print.PrintService, useful if users do not want JPS to lookup for an available print service.- Specified by:
getPrintServicein interfacePrintServiceExporterConfiguration
-
setPrintService
public void setPrintService(PrintService printService)
-
-