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 PrintRequestAttributeSet
getPrintRequestAttributeSet()
Returns an instance of javax.print.attribute.PrintRequestAttributeSet.PrintService
getPrintService()
Returns an instance of javax.print.PrintService, useful if users do not want JPS to lookup for an available print service.PrintServiceAttributeSet
getPrintServiceAttributeSet()
Returns an instance of javax.print.attribute.PrintServiceAttributeSet.Boolean
isDisplayPageDialog()
Returns a boolean value specifying whether a page setup dialog should be opened before printing.Boolean
isDisplayPageDialogOnlyOnce()
Returns a boolean value specifying whether a page setup dialog should be opened only once before printing in a batch export job.Boolean
isDisplayPrintDialog()
Returns a boolean value specifying whether a print setup dialog should be opened before printing.Boolean
isDisplayPrintDialogOnlyOnce()
Returns a boolean value specifying whether a print setup dialog should be opened only once in a batch export job.void
isDisplayPrintDialogOnlyOnce(Boolean isDisplayPrintDialogOnlyOnce)
void
setDisplayPageDialog(Boolean isDisplayPageDialog)
void
setDisplayPageDialogOnlyOnce(Boolean isDisplayPageDialogOnlyOnce)
void
setDisplayPrintDialog(Boolean isDisplayPrintDialog)
void
setPrintRequestAttributeSet(PrintRequestAttributeSet printRequestAttributeSet)
void
setPrintService(PrintService printService)
void
setPrintServiceAttributeSet(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:PrintServiceExporterConfiguration
Returns an instance of javax.print.attribute.PrintRequestAttributeSet.- Specified by:
getPrintRequestAttributeSet
in interfacePrintServiceExporterConfiguration
-
setPrintRequestAttributeSet
public void setPrintRequestAttributeSet(PrintRequestAttributeSet printRequestAttributeSet)
-
getPrintServiceAttributeSet
public PrintServiceAttributeSet getPrintServiceAttributeSet()
Description copied from interface:PrintServiceExporterConfiguration
Returns an instance of javax.print.attribute.PrintServiceAttributeSet.- Specified by:
getPrintServiceAttributeSet
in interfacePrintServiceExporterConfiguration
-
setPrintServiceAttributeSet
public void setPrintServiceAttributeSet(PrintServiceAttributeSet printServiceAttributeSet)
-
isDisplayPageDialog
public Boolean isDisplayPageDialog()
Description copied from interface:PrintServiceExporterConfiguration
Returns a boolean value specifying whether a page setup dialog should be opened before printing.- Specified by:
isDisplayPageDialog
in interfacePrintServiceExporterConfiguration
-
setDisplayPageDialog
public void setDisplayPageDialog(Boolean isDisplayPageDialog)
-
isDisplayPageDialogOnlyOnce
public Boolean isDisplayPageDialogOnlyOnce()
Description copied from interface:PrintServiceExporterConfiguration
Returns a boolean value specifying whether a page setup dialog should be opened only once before printing in a batch export job.- Specified by:
isDisplayPageDialogOnlyOnce
in interfacePrintServiceExporterConfiguration
-
setDisplayPageDialogOnlyOnce
public void setDisplayPageDialogOnlyOnce(Boolean isDisplayPageDialogOnlyOnce)
-
isDisplayPrintDialog
public Boolean isDisplayPrintDialog()
Description copied from interface:PrintServiceExporterConfiguration
Returns a boolean value specifying whether a print setup dialog should be opened before printing.- Specified by:
isDisplayPrintDialog
in interfacePrintServiceExporterConfiguration
-
setDisplayPrintDialog
public void setDisplayPrintDialog(Boolean isDisplayPrintDialog)
-
isDisplayPrintDialogOnlyOnce
public Boolean isDisplayPrintDialogOnlyOnce()
Description copied from interface:PrintServiceExporterConfiguration
Returns a boolean value specifying whether a print setup dialog should be opened only once in a batch export job.- Specified by:
isDisplayPrintDialogOnlyOnce
in interfacePrintServiceExporterConfiguration
-
isDisplayPrintDialogOnlyOnce
public void isDisplayPrintDialogOnlyOnce(Boolean isDisplayPrintDialogOnlyOnce)
-
getPrintService
public PrintService getPrintService()
Description copied from interface:PrintServiceExporterConfiguration
Returns an instance of javax.print.PrintService, useful if users do not want JPS to lookup for an available print service.- Specified by:
getPrintService
in interfacePrintServiceExporterConfiguration
-
setPrintService
public void setPrintService(PrintService printService)
-
-