Uses of Class
javax.print.attribute.standard.Severity
Packages that use Severity
包
描述
Package
javax.print.attribute.standard
contains classes for specific
printing attributes.-
Uses of Severity in javax.print.attribute.standard
Fields in javax.print.attribute.standard declared as Severity修饰符和类Field描述static 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."Methods in javax.print.attribute.standard that return Severity修饰符和类方法描述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.Methods in javax.print.attribute.standard with parameters of type Severity修饰符和类方法描述PrinterStateReasons.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.Constructor parameters in javax.print.attribute.standard with type arguments of type SeverityModifierConstructor描述Construct a new printer state reasons attribute that contains the samePrinterStateReason
-to-Severity
mappings as the given map.