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 modelObjectClosedException
- if the current printing operation has been completedCapabilities.colorModels()
ColorModel colorModel()
ObjectClosedException
- if the current printing operation has been completed