T
- the concrete print settings typepublic interface PaperSize<T extends PrintSettings>
Implemented by concrete PrintSettings
implementations that support configuring the
paper size for printing.
Modifier and Type | Method and Description |
---|---|
PaperSize |
paperSize()
Returns the paper size used by the printer.
|
T |
paperSize(PaperSize paperSize)
Configures the paper size for printing.
|
T paperSize(PaperSize paperSize)
paperSize
- the new paper size valueObjectClosedException
- if the current printing operation has been completedCapabilities.paperSizes()
PaperSize paperSize()
ObjectClosedException
- if the current printing operation has been completed