Uses of Class
javax.print.attribute.standard.Severity
| Package | Description |
|---|---|
| javax.print.attribute.standard |
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 Modifier and Type Field Description static SeveritySeverity. ERRORIndicates that thePrinterStateReasonis an "error" (most severe).static SeveritySeverity. REPORTIndicates that thePrinterStateReasonis a "report" (least severe).static SeveritySeverity. WARNINGIndicates that thePrinterStateReasonis a "warning."Methods in javax.print.attribute.standard that return Severity Modifier and Type Method Description SeverityPrinterStateReasons. 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 Modifier and Type Method Description Set<PrinterStateReason>PrinterStateReasons. printerStateReasonSet(Severity severity)Obtain an unmodifiable set view of the individual printer state reason attributes at the given severity level in thisPrinterStateReasonsattribute.SeverityPrinterStateReasons. 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 Severity Constructor Description PrinterStateReasons(Map<PrinterStateReason,Severity> map)Construct a new printer state reasons attribute that contains the samePrinterStateReason-to-Severitymappings as the given map.