T
- the concrete print settings typepublic interface ColorModel<T extends PrintSettings>
Implemented by concrete PrintSettings
implementations that support
changing the color model.
Modifier and Type | Method and Description |
---|---|
ColorModel |
colorModel()
Returns the color model used by the printer.
|
T |
colorModel(ColorModel colorModel)
Configures the
colorModel for printing. |
T colorModel(ColorModel colorModel)
colorModel
for printing.colorModel
- the color mode to usejava.lang.IllegalArgumentException
- if the printer does not support the specified color modeljava.lang.IllegalStateException
- if the current printing operation has been completedCapabilities.colorModels()
ColorModel colorModel()
java.lang.IllegalStateException
- if the current printing operation has been completed