Uses of Class
javax.print.attribute.standard.Severity
Package
Description
Package
javax.print.attribute.standard
contains classes for specific
printing attributes.-
Uses of Severity in javax.print.attribute.standard
Modifier and TypeClassDescriptionfinal class
ClassPrinterStateReasons
is a printing attribute class, a set of enumeration values, that provides additional information about the printer's current state, i.e., information that augments the value of the printer'sPrinterState
attribute.Modifier and TypeFieldDescriptionstatic final Severity
Severity.ERROR
Indicates that thePrinterStateReason
is an "error" (most severe).static final Severity
Severity.REPORT
Indicates that thePrinterStateReason
is a "report" (least severe).static final Severity
Severity.WARNING
Indicates that thePrinterStateReason
is a "warning."Modifier and TypeMethodDescriptionPrinterStateReasons.put
(PrinterStateReason reason, Severity severity) Adds the given printer state reason to this printer state reasons attribute, associating it with the given severity level.Modifier and TypeMethodDescriptionPrinterStateReasons.printerStateReasonSet
(Severity severity) Obtain an unmodifiable set view of the individual printer state reason attributes at the given severity level in thisPrinterStateReasons
attribute.PrinterStateReasons.put
(PrinterStateReason reason, Severity severity) Adds the given printer state reason to this printer state reasons attribute, associating it with the given severity level.ModifierConstructorDescriptionConstruct a new printer state reasons attribute that contains the samePrinterStateReason
-to-Severity
mappings as the given map.