Uses of Interface
javax.print.attribute.Attribute
-
Packages that use Attribute 软件包 描述 javax.print 提供Java™打印服务API的主要类和接口。javax.print.attribute 提供描述Java™打印服务属性类型的类和接口,以及如何将它们收集到属性集中。javax.print.attribute.standard 包javax.print.attribute.standard包含特定打印属性的类。 -
-
Uses of Attribute in javax.print
Methods in javax.print that return Attribute 变量和类型 方法 描述 Attribute[]AttributeException. getUnsupportedValues()返回Print Service实例支持该属性但不支持该属性的特定值的打印属性数组,如果没有此类属性值,则null。Methods in javax.print with parameters of type Attribute 变量和类型 方法 描述 booleanPrintService. isAttributeValueSupported(Attribute attrval, DocFlavor flavor, AttributeSet attributes)确定客户端在为此PrintService设置作业时是否可以指定给定的打印属性值。Method parameters in javax.print with type arguments of type Attribute 变量和类型 方法 描述 ObjectPrintService. getDefaultAttributeValue(类<? extends Attribute> category)确定此打印服务在给定类别中的默认打印属性值。ObjectPrintService. getSupportedAttributeValues(类<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes)确定在为此打印服务设置作业时客户端可以在给定类别中指定的打印属性值。booleanPrintService. isAttributeCategorySupported(类<? extends Attribute> category)确定客户端在为此打印服务设置作业时是否可以指定给定的打印属性类别。 -
Uses of Attribute in javax.print.attribute
Subinterfaces of Attribute in javax.print.attribute 变量和类型 接口 描述 interfaceDocAttribute接口DocAttribute是标记接口,打印属性类实现该标记接口以指示属性表示doc的设置。interfacePrintJobAttributePrintJobAttribute是打印属性类实现的标记接口,用于指示属性描述打印作业的状态或打印作业的某些其他特征。interfacePrintRequestAttribute接口PrintRequestAttribute是标记接口,打印属性类实现该标记接口以指示属性表示打印作业的请求设置。interfacePrintServiceAttribute接口PrintServiceAttribute是标记接口,打印属性类实现该标记接口以指示该属性描述打印服务的状态或打印服务的一些其他特征。interfaceSupportedValuesAttribute接口SupportedValuesAttribute是标记接口,打印属性类实现该接口以指示该属性描述另一属性的支持值。Methods in javax.print.attribute that return Attribute 变量和类型 方法 描述 AttributeAttributeSet. get(类<?> category)返回此属性集在给定属性类别中包含的属性值。AttributeHashAttributeSet. get(类<?> category)返回此属性集在给定属性类别中包含的属性值。Attribute[]AttributeSet. toArray()返回此set中包含的属性数组。Attribute[]HashAttributeSet. toArray()返回此set中包含的属性数组。static AttributeAttributeSetUtilities. verifyAttributeValue(Object object, 类<?> interfaceName)验证给定对象是给定接口的实例,假定为接口Attribute或其子接口。Methods in javax.print.attribute that return types with arguments of type Attribute 变量和类型 方法 描述 类<? extends Attribute>Attribute. getCategory()获取打印属性类,该属性类在添加到属性集时用作此打印属性值的“类别”。Methods in javax.print.attribute with parameters of type Attribute 变量和类型 方法 描述 booleanAttributeSet. add(Attribute attribute)将指定的属性添加到此属性集(如果该属性集尚不存在),首先删除与指定属性值相同的属性类别中的任何现有值。booleanDocAttributeSet. add(Attribute attribute)如果指定的属性值尚不存在,则将其添加到此属性集中,首先删除与指定属性值相同的属性类别中的任何现有值(可选操作)。booleanHashAttributeSet. add(Attribute attribute)如果指定的属性尚不存在,则将其添加到此属性集中,首先删除与指定属性值相同的属性类别中的任何现有属性。booleanPrintJobAttributeSet. add(Attribute attribute)如果指定的属性值尚不存在,则将其添加到此属性集中,首先删除与指定属性值相同的属性类别中的任何现有值(可选操作)。booleanPrintRequestAttributeSet. add(Attribute attribute)如果指定的属性值尚不存在,则将其添加到此属性集中,首先删除与指定属性值相同的属性类别中的任何现有值(可选操作)。booleanPrintServiceAttributeSet. add(Attribute attribute)如果指定的属性值尚不存在,则将其添加到此属性集中,首先删除与指定属性值相同的属性类别中的任何现有值(可选操作)。booleanAttributeSet. containsValue(Attribute attribute)如果此属性集包含给定的属性值,则返回true。booleanHashAttributeSet. containsValue(Attribute attribute)如果此属性集包含给定属性,则返回true。booleanAttributeSet. remove(Attribute attribute)从此属性集中删除指定的属性(如果存在)。booleanHashAttributeSet. remove(Attribute attribute)从此属性集中删除指定的属性(如果存在)。static voidAttributeSetUtilities. verifyCategoryForValue(类<?> category, Attribute attribute)验证给定的属性类别对象是否等于给定属性值对象的类别。Constructors in javax.print.attribute with parameters of type Attribute 构造器 描述 HashAttributeSet(Attribute attribute)构造一个最初使用给定属性填充的新属性集。HashAttributeSet(Attribute[] attributes)构造一个新的属性集,最初使用给定数组中的值填充。HashAttributeSet(Attribute[] attributes, 类<?> interfaceName)构造一个新的属性集,其中属性集的成员仅限于给定的接口。HashAttributeSet(Attribute attribute, 类<?> interfaceName)构造一个新的属性集,最初使用给定的属性填充,其中属性集的成员仅限于给定的接口。 -
Uses of Attribute in javax.print.attribute.standard
Classes in javax.print.attribute.standard that implement Attribute 变量和类型 类 描述 classChromaticity类Chromaticity是打印属性类,枚举,指定单色或彩色打印。classColorSupported类ColorSupported是打印属性类,它是一个枚举,用于标识设备是否能够进行任何类型的彩色打印,包括高亮颜色以及完整的印刷色。classCompression类Compression是打印属性类,它是一个枚举,指定如何压缩打印数据。classCopies类Copies是整数值打印属性类,它指定要打印的副本数。classCopiesSupported类CopiesSupported是打印属性类,一组整数,它为Copies属性提供支持的值。classDateTimeAtCompleted类DateTimeAtCompleted是打印属性类,即日期时间属性,指示打印作业完成(或取消或中止)的日期和时间。classDateTimeAtCreation类DateTimeAtCreation是打印属性类,即日期时间属性,指示创建打印作业的日期和时间。classDateTimeAtProcessing类DateTimeAtProcessing是打印属性类,它是一个日期时间属性,指示打印作业首次开始处理的日期和时间。classDestination类Destination是打印属性类,URI,用于指示假脱机打印机格式化数据的备用目标。classDialogOwner用于支持请求打印或页面设置对话框的属性类将保持显示在所有窗口或某个特定窗口的顶部。classDialogTypeSelection类DialogTypeSelection是打印属性类,它是一个枚举,指示用于指定打印选项的用户对话框类型。classDocumentName类DocumentName是打印属性类,即文本属性,用于指定文档的名称。classFidelity类Fidelity是打印属性类,它是一个枚举,指示是否需要对客户端提供的打印请求属性的完全保真度。classFinishings类Finishings是打印属性类,它是一个枚举,用于标识打印机是否对作业中每个打印文档的每个副本应用某种绑定的完成操作。classJobHoldUntil类JobHoldUntil是打印属性类,即日期时间属性,它指定作业必须成为打印候选者的确切日期和时间。classJobImpressions类JobImpressions是整数值打印属性类,它指定要提交的文档的总印数。classJobImpressionsCompleted类JobImpressionsCompleted是整数值打印属性类,它指定到目前为止已完成的作业的展示次数。classJobImpressionsSupported类JobImpressionsSupported是打印属性类,一组整数,它为JobImpressions属性提供支持的值。classJobKOctets类JobKOctets是整数值打印属性类,其指定以K个八位字节为单位的文档的总大小,即,以请求在作业中处理的1024个八位字节为单位。classJobKOctetsProcessed类JobKOctetsProcessed是整数值打印属性类,其指定迄今为止以K个八位字节处理的打印数据八位字节的总数,即以1024个八位字节为单位。classJobKOctetsSupported类JobKOctetsSupported是打印属性类,一组整数,它为JobKOctets属性提供支持的值。classJobMediaSheets类JobMediaSheets是整数值打印属性类,它指定要为此作业生成的介质页总数。classJobMediaSheetsCompleted类JobMediaSheetsCompleted是整数值打印属性类,它指定到目前为止已完成整个作业的标记和堆叠的介质页数,无论这些页是在一侧还是在两者上进行处理。classJobMediaSheetsSupported类JobMediaSheetsSupported是打印属性类,一组整数,它为JobMediaSheets属性提供支持的值。classJobMessageFromOperator类JobMessageFromOperator是打印属性类,即文本属性,它提供来自操作员,系统管理员或“智能”过程的消息,以向最终用户指示对作业进行修改或其他管理操作的原因。classJobName类JobName是打印属性类,即文本属性,它指定打印作业的名称。classJobOriginatingUserName类JobOriginatingUserName是打印属性类,即文本属性,包含提交打印作业的最终用户的名称。classJobPriority类JobPriority是整数值打印属性类,它指定打印作业的优先级。classJobPrioritySupported类JobPrioritySupported是整数值打印属性类,它指定Print Service实例是否支持JobPriority属性以及支持的不同作业优先级数。classJobSheets类JobSheets是打印属性类,它是一个枚举,用于确定必须使用作业打印哪些作业开始和结束表(如果有)。classJobStateJobState是打印属性类,它是一个枚举,用于标识打印作业的当前状态。classJobStateReason类JobStateReason是打印属性类,它是一个枚举,它提供有关作业当前状态的附加信息,即增加作业JobState属性值的信息。classJobStateReasons类JobStateReasons是打印属性类,一组枚举值,提供有关作业当前状态的附加信息,即增加作业JobState属性值的信息。classMedia类Media是打印属性类,它指定要打印的介质。classMediaName类MediaName是MediaName的子类,Media是一个打印属性类(枚举),它将打印作业的介质指定为名称。classMediaPrintableArea类MediaPrintableArea是用于区分介质的可打印和不可打印区域的打印属性。classMediaSize类MediaSize是二维尺寸值打印属性类,它以纵向方向指示介质的尺寸,其中X尺寸沿底边运行,Y尺寸沿左边缘运行。classMediaSizeName类MediaSizeName是的一个子类Media。classMediaTrayMediaTray类是Media的子类。classMultipleDocumentHandling类MultipleDocumentHandling是打印属性类,它是一个枚举,用于控制整理操作以及将一个或多个打印流页面放置到印记和介质页上。classNumberOfDocuments类NumberOfDocuments是整数值打印属性,指示打印机为此作业接受的单个文档的数量,无论文档的打印数据是否已到达打印机。classNumberOfInterveningJobs类NumberOfInterveningJobs是整数值打印属性,其以预期完成时间的相对时间顺序(即,当前调度的顺序)指示在该作业之前的作业的数量。classNumberUp类NumberUp是整数值打印属性类,它指定要对所选介质的实例的单面施加的打印流页面的数量。classNumberUpSupported类NumberUpSupported是打印属性类,一组整数,它为NumberUp属性提供支持的值。classOrientationRequested类OrientationRequested是打印属性类,枚举,指示打印的打印流页面的所需方向; 它没有描述客户端提供的打印流页面的方向。classOutputDeviceAssigned类OutputDeviceAssigned是打印属性类,即文本属性,用于标识服务为其分配了此作业的输出设备。classPageRanges类PageRanges是打印属性类,一组整数,用于标识打印机对象用于每个要打印的文档的每个副本的打印流页面的范围。classPagesPerMinute类PagesPerMinute是整数值打印属性,其指示可由本打印机生成的最接近整数的每分钟标称页数(例如,单面,黑白)。classPagesPerMinuteColor类PagesPerMinuteColor是整数值打印属性,其指示在打印颜色(例如,单面,彩色)时可由本打印机生成的每分钟的标称页数到最接近的整数。classPDLOverrideSupported类PDLOverrideSupported是打印属性类,它是一种枚举,表示打印机尝试覆盖文档打印数据中嵌入的处理指令的能力,其中处理指令被指定为打印数据之外的属性。classPresentationDirection类PresentationDirection是打印属性类,枚举,与NumberUp属性结合使用,以指示要在所选介质的实例的单面上施加的多个打印流页面的布局。classPrinterInfo类PrinterInfo是打印属性类,即文本属性,提供有关打印机的描述性信息。classPrinterIsAcceptingJobs类PrinterIsAcceptingJobs是打印属性类,它是一个枚举,指示打印机当前是否能够接受作业。classPrinterLocation类PrinterLocation是打印属性类,即文本属性,用于标识设备的位置。classPrinterMakeAndModel类PrinterMakeAndModel是打印属性类,即文本属性,即打印机的品牌和型号。classPrinterMessageFromOperator类PrinterMessageFromOperator是打印属性类,它是一种文本属性,它提供来自操作员,系统管理员或“智能”过程的消息,以向最终用户指示打印机的信息或状态,例如它不可用的原因或何时它预计可用。classPrinterMoreInfo类PrinterMoreInfo是打印属性类,URI,用于获取有关此特定打印机的更多信息。classPrinterMoreInfoManufacturer类PrinterMoreInfoManufacturer是打印属性类,URI,用于获取有关此类设备的更多信息。classPrinterName类PrinterName是打印属性类,即文本属性,用于指定打印机的名称。classPrinterResolution类PrinterResolution是打印属性类,它指定打印机支持的精确分辨率或用于打印作业。classPrinterState类PrinterState是打印属性类,它是一个枚举,用于标识打印机的当前状态。classPrinterStateReason类PrinterStateReason是打印属性类,它是一个枚举,它提供有关打印机当前状态的附加信息,即增加打印机PrinterState属性值的信息。classPrinterStateReasons类PrinterStateReasons是打印属性类,一组枚举值,提供有关打印机当前状态的附加信息,即增加打印机PrinterState属性值的信息。classPrinterURI类PrinterURI是打印属性类,URI,它指定打印机的全局唯一名称。classPrintQuality类PrintQuality是打印属性类,它是一个枚举,指定打印机用于作业的打印质量。classQueuedJobCount类QueuedJobCount是整数值打印属性,它指示在其打印机中的作业数JobState要么是PENDING,PENDING_HELD,PROCESSING,或PROCESSING_STOPPED。classReferenceUriSchemesSupported类ReferenceUriSchemesSupported是打印属性类,枚举,表示“URI方案”,例如“http:”或“ftp:”,打印机可以使用它来检索存储在URI位置的打印数据。classRequestingUserName类RequestingUserName是打印属性类,即文本属性,它指定提交打印作业的最终用户的名称。classSeverity类Severity是打印属性类,它是一个枚举,表示PrinterStateReason属性的严重性。classSheetCollate类SheetCollate是打印属性类,它是一种枚举,指定当Copies属性指定文档的多个副本时,作业中每个打印文档的每个副本的介质页是否按顺序排列。classSides类Sides是打印属性类,枚举,指定如何将打印流页面强加到所选介质的实例的侧面,即印象。Methods in javax.print.attribute.standard that return types with arguments of type Attribute 变量和类型 方法 描述 类<? extends Attribute>Chromaticity. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>ColorSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Compression. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Copies. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>CopiesSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DateTimeAtCompleted. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DateTimeAtCreation. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DateTimeAtProcessing. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Destination. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DialogOwner. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DialogTypeSelection. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>DocumentName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Fidelity. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Finishings. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobHoldUntil. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobImpressions. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobImpressionsCompleted. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobImpressionsSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobKOctets. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobKOctetsProcessed. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobKOctetsSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobMediaSheets. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobMediaSheetsCompleted. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobMediaSheetsSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobMessageFromOperator. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobOriginatingUserName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobPriority. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobPrioritySupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobSheets. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobState. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobStateReason. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>JobStateReasons. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Media. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>MediaPrintableArea. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>MediaSize. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>MultipleDocumentHandling. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>NumberOfDocuments. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>NumberOfInterveningJobs. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>NumberUp. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>NumberUpSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>OrientationRequested. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>OutputDeviceAssigned. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PageRanges. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PagesPerMinute. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PagesPerMinuteColor. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PDLOverrideSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PresentationDirection. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterInfo. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterIsAcceptingJobs. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterLocation. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterMakeAndModel. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterMessageFromOperator. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterMoreInfo. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterMoreInfoManufacturer. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterResolution. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterState. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterStateReason. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterStateReasons. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrinterURI. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>PrintQuality. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>QueuedJobCount. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>ReferenceUriSchemesSupported. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>RequestingUserName. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Severity. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>SheetCollate. getCategory()获取将用作此打印属性值的“类别”的打印属性类。类<? extends Attribute>Sides. getCategory()获取将用作此打印属性值的“类别”的打印属性类。
-