T
- the concrete print settings typepublic interface PageMargins<T extends PrintSettings>
Implemented by concrete PrintSettings
implementations that support configuring the
page margins.
Modifier and Type | Method and Description |
---|---|
PageMargins |
pageMargins()
Returns the page margins.
|
T |
pageMargins(PageMargins pageMargins)
Configures the page margins for printing.
|
T pageMargins(PageMargins pageMargins)
pageMargins
- the page marginsjava.lang.IllegalStateException
- if the current printing operation has been completedPageMargins pageMargins()
java.lang.IllegalStateException
- if the current printing operation has been completed