T
- the concrete print settings typepublic interface PrintBackgrounds<T extends PrintSettings>
Implemented by concrete PrintSettings
implementations that support configuring
printing background graphics.
Modifier and Type | Method and Description |
---|---|
T |
disablePrintingBackgrounds()
Disables printing background graphics.
|
T |
enablePrintingBackgrounds()
Enables printing background graphics.
|
boolean |
isPrintingBackgroundsEnabled()
Returns
true if printing background graphics is enabled. |
T enablePrintingBackgrounds()
java.lang.IllegalStateException
- if the current printing operation has been completedT disablePrintingBackgrounds()
java.lang.IllegalStateException
- if the current printing operation has been completedboolean isPrintingBackgroundsEnabled()
true
if printing background graphics is enabled.java.lang.IllegalStateException
- if the current printing operation has been completed