软件包 | 描述 |
---|---|
javax.print |
提供了主要的类和接口的java
TM打印服务API。
|
javax.print.attribute |
提供类和接口描述java
TM打印服务属性的类型以及如何将它们收集到的属性集。
|
Modifier and Type | Method and Description |
---|---|
AttributeSet |
PrintService.getUnsupportedAttributes(DocFlavor flavor, AttributeSet attributes)
确定了在特定的语境docflavor打印请求是不支持的属性。
|
Modifier and Type | Method and Description |
---|---|
abstract MultiDocPrintService[] |
PrintServiceLookup.getMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)
不直接调用应用程序。
|
abstract PrintService[] |
PrintServiceLookup.getPrintServices(DocFlavor flavor, AttributeSet attributes)
定位服务,可以积极确认支持的属性的组合和docflavors指定。
|
Object |
PrintService.getSupportedAttributeValues(类<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes)
确定在为该打印服务设置一个作业时,客户端可以在指定类别中指定的打印属性值。
|
AttributeSet |
PrintService.getUnsupportedAttributes(DocFlavor flavor, AttributeSet attributes)
确定了在特定的语境docflavor打印请求是不支持的属性。
|
boolean |
PrintService.isAttributeValueSupported(Attribute attrval, DocFlavor flavor, AttributeSet attributes)
确定在设置此打印服务的作业时,客户端是否可以指定给定的打印属性值。
|
static MultiDocPrintService[] |
PrintServiceLookup.lookupMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)
位于多文档打印服务能够打印multidocs包含所有指定的文件的味道。
|
static PrintService[] |
PrintServiceLookup.lookupPrintServices(DocFlavor flavor, AttributeSet attributes)
位于打印服务可以打印指定的
DocFlavor 。
|
Modifier and Type | Interface and Description |
---|---|
interface |
DocAttributeSet
接口docattributeset指定一组文档属性的接口,即
|
interface |
PrintJobAttributeSet
接口printjobattributeset指定一套打印作业属性的接口,即
|
interface |
PrintRequestAttributeSet
接口PrintRequestAttributeSet指定一组打印请求属性的接口,即
|
interface |
PrintServiceAttributeSet
接口printserviceattributeset指定一套打印作业属性的接口,即
|
Modifier and Type | Class and Description |
---|---|
class |
HashAttributeSet
类提供了一个
AttributeSet hashattributeset实现一个哈希映射特性。
|
class |
HashDocAttributeSet
类提供了一个属性集hashdocattributeset继承实现类
HashAttributeSet 并执行接口
DocAttributeSet 语义限制。
|
class |
HashPrintJobAttributeSet
类提供了一个属性集hashprintjobattributeset继承实现类
HashAttributeSet 并执行接口
PrintJobAttributeSet 语义限制。
|
class |
HashPrintRequestAttributeSet
hashprintrequestattributeset类继承实现类
HashAttributeSet 并执行接口
PrintRequestAttributeSet 语义限制。
|
class |
HashPrintServiceAttributeSet
类提供了一个属性集hashprintserviceattributeset继承实现类
HashAttributeSet 并执行接口
PrintServiceAttributeSet 语义限制。
|
Modifier and Type | Method and Description |
---|---|
static AttributeSet |
AttributeSetUtilities.synchronizedView(AttributeSet attributeSet)
创建给定属性集的同步视图。
|
static AttributeSet |
AttributeSetUtilities.unmodifiableView(AttributeSet attributeSet)
创造了一个不可修改的视图的属性集。
|
Modifier and Type | Method and Description |
---|---|
boolean |
PrintJobAttributeSet.addAll(AttributeSet attributes)
将指定的集合中的所有元素添加到这个属性中。
|
boolean |
DocAttributeSet.addAll(AttributeSet attributes)
将指定的集合中的所有元素添加到这个属性中。
|
boolean |
HashAttributeSet.addAll(AttributeSet attributes)
将指定的集合中的所有元素添加到这个属性中。
|
boolean |
PrintServiceAttributeSet.addAll(AttributeSet attributes)
将指定的集合中的所有元素添加到这个属性中。
|
boolean |
PrintRequestAttributeSet.addAll(AttributeSet attributes)
将指定的集合中的所有元素添加到这个属性中。
|
boolean |
AttributeSet.addAll(AttributeSet attributes)
将指定的集合中的所有元素添加到这个属性中。
|
static AttributeSet |
AttributeSetUtilities.synchronizedView(AttributeSet attributeSet)
创建给定属性集的同步视图。
|
static AttributeSet |
AttributeSetUtilities.unmodifiableView(AttributeSet attributeSet)
创造了一个不可修改的视图的属性集。
|
Constructor and Description |
---|
HashAttributeSet(AttributeSet attributes)
构造一个新的属性集,从给定的集合开始填充值。
|
HashAttributeSet(AttributeSet attributes, 类<?> interfaceName)
构造一个新的属性集,从给定的属性集的成员被限制在给定的接口的给定的值中填充的值。
|
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.