Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
---|
Modifier and Type | Field and Description |
---|---|
static Severity |
Severity.ERROR
Indicates that the PrinterStateReason is an
"error" (most severe). |
static Severity |
Severity.REPORT
Indicates that the PrinterStateReason is a
"report" (least severe). |
static Severity |
Severity.WARNING
Indicates that the PrinterStateReason is a
"warning." An implementation may choose to omit some or all warnings. |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and 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 this PrinterStateReasons attribute. |
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. |
Constructor and Description |
---|
PrinterStateReasons(Map<PrinterStateReason,Severity> map)
Construct a new printer state reasons attribute that contains the same PrinterStateReason -to-Severity mappings as the given map. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.