T
- the concrete print settings typepublic interface PagesPerSheet<T extends PrintSettings>
Implemented by concrete PrintSettings
implementations that support configuring the
number of pages per sheet.
Modifier and Type | Method and Description |
---|---|
PagesPerSheet |
pagesPerSheet()
Returns the number of pages per sheet.
|
T |
pagesPerSheet(PagesPerSheet pagesPerSheet)
Configures the number of pages per sheet.
|
T pagesPerSheet(PagesPerSheet pagesPerSheet)
pagesPerSheet
- the new number of pages per sheetjava.lang.IllegalStateException
- if the current printing operation has been completedPagesPerSheet pagesPerSheet()
java.lang.IllegalStateException
- if the current printing operation has been completed