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