软件包 | 描述 |
---|---|
javax.print |
提供了主要的类和接口的java
TM打印服务API。
|
javax.print.attribute |
提供类和接口描述java
TM打印服务属性的类型以及如何将它们收集到的属性集。
|
javax.print.event |
包javax.print.event包含事件类和监听器接口。
|
Modifier and Type | Method and Description |
---|---|
PrintServiceAttributeSet |
PrintService.getAttributes()
获取此打印服务的打印机描述属性的设置,使此打印服务的状态。
|
Modifier and Type | Class and Description |
---|---|
class |
HashPrintServiceAttributeSet
类提供了一个属性集hashprintserviceattributeset继承实现类
HashAttributeSet 并执行接口
PrintServiceAttributeSet 语义限制。
|
Modifier and Type | Method and Description |
---|---|
static PrintServiceAttributeSet |
AttributeSetUtilities.synchronizedView(PrintServiceAttributeSet attributeSet)
创建给定的打印服务属性集的同步视图。
|
static PrintServiceAttributeSet |
AttributeSetUtilities.unmodifiableView(PrintServiceAttributeSet attributeSet)
创建一个不可修改的视图的打印服务属性设置。
|
Modifier and Type | Method and Description |
---|---|
static PrintServiceAttributeSet |
AttributeSetUtilities.synchronizedView(PrintServiceAttributeSet attributeSet)
创建给定的打印服务属性集的同步视图。
|
static PrintServiceAttributeSet |
AttributeSetUtilities.unmodifiableView(PrintServiceAttributeSet attributeSet)
创建一个不可修改的视图的打印服务属性设置。
|
Constructor and Description |
---|
HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes)
构建一个新的属性集,最初填充值从给定的属性集的成员限制在
PrintServiceAttribute 接口。
|
Modifier and Type | Method and Description |
---|---|
PrintServiceAttributeSet |
PrintServiceAttributeEvent.getAttributes()
确定更改了的打印服务属性和它们的新值。
|
Constructor and Description |
---|
PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
构建了一个printserviceattributeevent对象。
|
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.