软件包 | 描述 |
---|---|
javax.print.attribute.standard |
包装印刷类javax.print.attribute.standard包含特定属性。
|
Modifier and Type | Field and Description |
---|---|
static Severity |
Severity.ERROR
表明
PrinterStateReason 是一个“错误”(最严重)。
|
static Severity |
Severity.REPORT
表明
PrinterStateReason 是“报告”(不严重)。
|
static Severity |
Severity.WARNING
表明
PrinterStateReason 是一个“警告”的实现可以选择省略一些或所有的警告。
|
Modifier and Type | Method and Description |
---|---|
Severity |
PrinterStateReasons.put(PrinterStateReason reason, Severity severity)
将给定的打印机状态原因添加到打印机状态原因属性,并将其与给定的严重程度级别关联起来。
|
Modifier and Type | Method and Description |
---|---|
Set<PrinterStateReason> |
PrinterStateReasons.printerStateReasonSet(Severity severity)
获得单独的打印机状态原因属性在给定的严重程度在这printerstatereasons不可更改设置视图属性。
|
Severity |
PrinterStateReasons.put(PrinterStateReason reason, Severity severity)
将给定的打印机状态原因添加到打印机状态原因属性,并将其与给定的严重程度级别关联起来。
|
Constructor and Description |
---|
PrinterStateReasons(Map<PrinterStateReason,Severity> map)
构建一个新的打印机状态的原因,包含相同的
PrinterStateReason -to -
Severity 映射为给定的Map。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.