T
- the concrete print settings typepublic interface PrintHeaderFooter<T extends PrintSettings>
Implemented by concrete PrintSettings
implementations that support configuring
printing headers and footers.
Modifier and Type | Method and Description |
---|---|
T |
disablePrintingHeaderFooter()
Disables printing headers and footers.
|
T |
enablePrintingHeaderFooter()
Enables printing headers and footers.
|
boolean |
isPrintingHeaderFooterEnabled()
Returns
true if printing headers and footer is enabled. |
T enablePrintingHeaderFooter()
java.lang.IllegalStateException
- if the current printing operation has been completedT disablePrintingHeaderFooter()
java.lang.IllegalStateException
- if the current printing operation has been completedboolean isPrintingHeaderFooterEnabled()
true
if printing headers and footer is enabled.java.lang.IllegalStateException
- if the current printing operation has been completed