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