| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Severity 的软件包 | |
|---|---|
| javax.print.attribute.standard | 包 javax.print.attribute.standard 包括特定打印属性的类。 | 
| javax.print.attribute.standard 中 Severity 的使用 | 
|---|
| 声明为 Severity 的 javax.print.attribute.standard 中的字段 | |
|---|---|
| static Severity | Severity.ERROR指示 PrinterStateReason是 "error"(最严重)。 | 
| static Severity | Severity.REPORT指示 PrinterStateReason是 "report"(不太严重)。 | 
| static Severity | Severity.WARNING指示 PrinterStateReason是 "warning"。 | 
| 返回 Severity 的 javax.print.attribute.standard 中的方法 | |
|---|---|
|  Severity | PrinterStateReasons.put(PrinterStateReason reason,
    Severity severity)根据给定的严重性级别,将给定的打印机状态原因添加到此 PrinterStateReasons 属性中。 | 
| 参数类型为 Severity 的 javax.print.attribute.standard 中的方法 | |
|---|---|
|  Set<PrinterStateReason> | PrinterStateReasons.printerStateReasonSet(Severity severity)在此 PrinterStateReasons 中,获取在给定的严重性级别每个 PrinterStateReasons 属性的不可修改的视图集。 | 
|  Severity | PrinterStateReasons.put(PrinterStateReason reason,
    Severity severity)根据给定的严重性级别,将给定的打印机状态原因添加到此 PrinterStateReasons 属性中。 | 
| 类型变量类型为 Severity 的 javax.print.attribute.standard 中的构造方法参数 | |
|---|---|
| PrinterStateReasons(Map<PrinterStateReason,Severity> map)构造一个新的 PrinterStateReasons 属性,它包括与给定映射相同的 PrinterStateReason到Severity映射关系。 | |
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。