T
- the concrete print settings typepublic interface PageRanges<T extends PrintSettings>
Implemented by concrete PrintSettings
implementations that support configuring the
page ranges to print.
Modifier and Type | Method and Description |
---|---|
java.util.Set<PageRange> |
pageRanges()
Returns an immutable set containing the page ranges to print.
|
T |
pageRanges(PageRange... pageRanges)
Configures the page ranges to print.
|
T |
pageRanges(java.util.Set<PageRange> pageRanges)
Configures the page ranges to print.
|
T pageRanges(java.util.Set<PageRange> pageRanges)
pageRanges
- the new page rangesjava.lang.IllegalStateException
- if the current printing operation has been completedT pageRanges(PageRange... pageRanges)
pageRanges
- the new page rangesjava.lang.IllegalStateException
- if the current printing operation has been completedjava.util.Set<PageRange> pageRanges()
java.lang.IllegalStateException
- if the current printing operation has been completed