122 lines
15 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
javax.print.attribute
</div>
<h2 class="title" title="Interface Attribute">Interface Attribute</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Superinterfaces:
</dt>
<dd>
<span><a href="../../../java/io/Serializable.html" title="java.io中的接口">Serializable</a></span>
</dd>
</dl>
<dl>
<dt>
All Known Subinterfaces:
</dt>
<dd>
<span><a href="../../../javax/print/attribute/DocAttribute.html" title="javax.print.attribute中的接口">DocAttribute</a> <a href="../../../javax/print/attribute/PrintJobAttribute.html" title="javax.print.attribute中的接口">PrintJobAttribute</a> <a href="../../../javax/print/attribute/PrintRequestAttribute.html" title="javax.print.attribute中的接口">PrintRequestAttribute</a> <a href="../../../javax/print/attribute/PrintServiceAttribute.html" title="javax.print.attribute中的接口">PrintServiceAttribute</a> <a href="../../../javax/print/attribute/SupportedValuesAttribute.html" title="javax.print.attribute中的接口">SupportedValuesAttribute</a></span>
</dd>
</dl>
<dl>
<dt>
所有已知实现类:
</dt>
<dd>
<span><a href="../../../javax/print/attribute/standard/Chromaticity.html" title="javax.print.attribute.standard中的类">Chromaticity</a> <a href="../../../javax/print/attribute/standard/ColorSupported.html" title="javax.print.attribute.standard中的类">ColorSupported</a> <a href="../../../javax/print/attribute/standard/Compression.html" title="javax.print.attribute.standard中的类">Compression</a> <a href="../../../javax/print/attribute/standard/Copies.html" title="javax.print.attribute.standard中的类">Copies</a> <a href="../../../javax/print/attribute/standard/CopiesSupported.html" title="javax.print.attribute.standard中的类">CopiesSupported</a> <a href="../../../javax/print/attribute/standard/DateTimeAtCompleted.html" title="javax.print.attribute.standard中的类">DateTimeAtCompleted</a> <a href="../../../javax/print/attribute/standard/DateTimeAtCreation.html" title="javax.print.attribute.standard中的类">DateTimeAtCreation</a> <a href="../../../javax/print/attribute/standard/DateTimeAtProcessing.html" title="javax.print.attribute.standard中的类">DateTimeAtProcessing</a> <a href="../../../javax/print/attribute/standard/Destination.html" title="javax.print.attribute.standard中的类">Destination</a> <a href="../../../javax/print/attribute/standard/DialogTypeSelection.html" title="javax.print.attribute.standard中的类">DialogTypeSelection</a> <a href="../../../javax/print/attribute/standard/DocumentName.html" title="javax.print.attribute.standard中的类">DocumentName</a> <a href="../../../javax/print/attribute/standard/Fidelity.html" title="javax.print.attribute.standard中的类">Fidelity</a> <a href="../../../javax/print/attribute/standard/Finishings.html" title="javax.print.attribute.standard中的类">Finishings</a> <a href="../../../javax/print/attribute/standard/JobHoldUntil.html" title="javax.print.attribute.standard中的类">JobHoldUntil</a> <a href="../../../javax/print/attribute/standard/JobImpressions.html" title="javax.print.attribute.standard中的类">JobImpressions</a> <a href="../../../javax/print/attribute/standard/JobImpressionsCompleted.html" title="javax.print.attribute.standard中的类">JobImpressionsCompleted</a> <a href="../../../javax/print/attribute/standard/JobImpressionsSupported.html" title="javax.print.attribute.standard中的类">JobImpressionsSupported</a> <a href="../../../javax/print/attribute/standard/JobKOctets.html" title="javax.print.attribute.standard中的类">JobKOctets</a> <a href="../../../javax/print/attribute/standard/JobKOctetsProcessed.html" title="javax.print.attribute.standard中的类">JobKOctetsProcessed</a> <a href="../../../javax/print/attribute/standard/JobKOctetsSupported.html" title="javax.print.attribute.standard中的类">JobKOctetsSupported</a> <a href="../../../javax/print/attribute/standard/JobMediaSheets.html" title="javax.print.attribute.standard中的类">JobMediaSheets</a> <a href="../../../javax/print/attribute/standard/JobMediaSheetsCompleted.html" title="javax.print.attribute.standard中的类">JobMediaSheetsCompleted</a> <a href="../../../javax/print/attribute/standard/JobMediaSheetsSupported.html" title="javax.print.attribute.standard中的类">JobMediaSheetsSupported</a> <a href="../../../javax/print/attribute/standard/JobMessageFromOperator.html" title="javax.print.attribute.standard中的类">JobMessageFromOperator</a> <a href="../../../javax/print/attribute/standard/JobName.html" title="javax.print.attribute.standard中的类">JobName</a> <a href="../../../javax/print/attribute/standard/JobOriginatingUserName.html" title="javax.print.attribute.standard中的类">JobOriginatingUserName</a> <a href="../../../javax/print/attribute/standard/JobPriority.html" title="javax.print.attribute.standard中的类">JobPriority</a> <a href="../../../javax/print/attribute/standard/JobPrioritySupported.html" title="javax.print.attribute.standard中的类">JobPrioritySupported</a> <a href="../../../javax/print/attribute/standard/JobSheets.html" title="javax.print.attribute.standard中的类">JobSheets</a> <a href="../../../javax/print/attribute/standard/JobState.html" title="javax.print.attribute.standard中的类">JobState</a> <a href="../../../javax/print/attribute/standard/JobStateReason.html" title="javax.print.attribute.standard中的类">JobStateReason</a> <a href="../../../javax/print/attribute/standard/JobStateReasons.html" title="javax.print.attribute.standard中的类">JobStateReasons</a> <a href="../../../javax/print/attribute/standard/Media.html" title="javax.print.attribute.standard中的类">Media</a> <a href="../../../javax/print/attribute/standard/MediaName.html" title="javax.print.attribute.standard中的类">MediaName</a> <a href="../../../javax/print/attribute/standard/MediaPrintableArea.html" title="javax.print.attribute.standard中的类">MediaPrintableArea</a> <a href="../../../javax/print/attribute/standard/MediaSize.html" title="javax.print.attribute.standard中的类">MediaSize</a> <a href="../../../javax/print/attribute/standard/MediaSizeName.html" title="javax.print.attribute.standard中的类">MediaSizeName</a> <a href="../../../javax/print/attribute/standard/MediaTray.html" title="javax.print.attribute.standard中的类">MediaTray</a> <a href="../../../javax/print/attribute/standard/MultipleDocumentHandling.html" title="javax.print.attribute.standard中的类">MultipleDocumentHandling</a> <a href="../../../javax/print/attribute/standard/NumberOfDocuments.html" title="javax.print.attribute.standard中的类">NumberOfDocuments</a> <a href="../../../javax/print/attribute/standard/NumberOfInterveningJobs.html" title="javax.print.attribute.standard中的类">NumberOfInterveningJobs</a> <a href="../../../javax/print/attribute/standard/NumberUp.html" title="javax.print.attribute.standard中的类">NumberUp</a> <a href="../../../javax/print/attribute/standard/NumberUpSupported.html" title="javax.print.attribute.standard中的类">NumberUpSupported</a> <a href="../../../javax/print/attribute/standard/OrientationRequested.html" title="javax.print.attribute.standard中的类">OrientationRequested</a> <a href="../../../javax/print/attribute/standard/OutputDeviceAssigned.html" title="javax.print.attribute.standard中的类">OutputDeviceAssigned</a> <a href="../../../javax/print/attribute/standard/PageRanges.html" title="javax.print.attribute.standard中的类">PageRanges</a> <a href="../../../javax/print/attribute/standard/PagesPerMinute.html" title="javax.print.attribute.standard中的类">PagesPerMinute</a> <a href="../../../javax/print/attribute/standard/PagesPerMinuteColor.html" title="javax.print.attribute.standard中的类">PagesPerMinuteColor</a> <a href="../../../javax/print/attribute/standard/PDLOverrideSupported.html" title="javax.print.attribute.standard中的类">PDLOverrideSupported</a> <a href="../../../javax/print/attribute/standard/PresentationDirection.html" title="javax.print.attribute.standard中的类">PresentationDirection</a> <a href="../../../javax/print/attribute/standard/PrinterInfo.html" title="javax.print.attribute.standard中的类">PrinterInfo</a> <a href="../../../javax/print/attribute/standard/PrinterIsAcceptingJobs.html" title="javax.print.attribute.standard中的类">PrinterIsAcceptingJobs</a> <a href="../../../javax/print/attribute/standard/PrinterLocation.html" title="javax.print.attribute.standard中的类">PrinterLocation</a> <a href="../../../javax/print/attribute/standard/PrinterMakeAndModel.html" title="javax.print.attribute.standard中的类">PrinterMakeAndModel</a> <a href="../../../javax/print/attribute/standard/PrinterMessageFromOperator.html" title="javax.print.attribute.standard中的类">PrinterMessageFromOperator</a> <a href="../../../javax/print/attribute/standard/PrinterMoreInfo.html" title="javax.print.attribute.standard中的类">PrinterMoreInfo</a> <a href="../../../javax/print/attribute/standard/PrinterMoreInfoManufacturer.html" title="javax.print.attribute.standard中的类">PrinterMoreInfoManufacturer</a> <a href="../../../javax/print/attribute/standard/PrinterName.html" title="javax.print.attribute.standard中的类">PrinterName</a> <a href="../../../javax/print/attribute/standard/PrinterResolution.html" title="javax.print.attribute.standard中的类">PrinterResolution</a></span>
<span> <a href="../../../javax/print/attribute/standard/PrinterState.html" title="javax.print.attribute.standard中的类">PrinterState</a> <a href="../../../javax/print/attribute/standard/PrinterStateReason.html" title="javax.print.attribute.standard中的类">PrinterStateReason</a> <a href="../../../javax/print/attribute/standard/PrinterStateReasons.html" title="javax.print.attribute.standard中的类">PrinterStateReasons</a> <a href="../../../javax/print/attribute/standard/PrinterURI.html" title="javax.print.attribute.standard中的类">PrinterURI</a> <a href="../../../javax/print/attribute/standard/PrintQuality.html" title="javax.print.attribute.standard中的类">PrintQuality</a> <a href="../../../javax/print/attribute/standard/QueuedJobCount.html" title="javax.print.attribute.standard中的类">QueuedJobCount</a> <a href="../../../javax/print/attribute/standard/ReferenceUriSchemesSupported.html" title="javax.print.attribute.standard中的类">ReferenceUriSchemesSupported</a> <a href="../../../javax/print/attribute/standard/RequestingUserName.html" title="javax.print.attribute.standard中的类">RequestingUserName</a> <a href="../../../javax/print/attribute/standard/Severity.html" title="javax.print.attribute.standard中的类">Severity</a> <a href="../../../javax/print/attribute/standard/SheetCollate.html" title="javax.print.attribute.standard中的类">SheetCollate</a> <a href="../../../javax/print/attribute/standard/Sides.html" title="javax.print.attribute.standard中的类">Sides</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">Attribute</span>
extends <a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a></pre>
<div class="block">
<span>接口属性是由任何和每个打印属性类实现的基本接口,以指示该类表示打印属性。</span>
<span>所有打印属性都是可序列化的。</span>
<p></p>
</div> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="../../../java/lang/Class.html" title="class in java.lang"></a>&lt;? extends <a href="../../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/print/attribute/Attribute.html#getCategory--">getCategory</a></span>()</code>
<div class="block">
当打印属性值添加到属性集中时,获取打印属性类,该属性类将用作此打印属性值的“类别”。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/print/attribute/Attribute.html#getName--">getName</a></span>()</code>
<div class="block">
获取此属性值是一个实例的类别的名称。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getCategory--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getCategory</h4> <pre><a href="../../../java/lang/Class.html" title="class in java.lang"></a>&lt;? extends <a href="../../../javax/print/attribute/Attribute.html" title="interface in javax.print.attribute">Attribute</a>&gt; getCategory()</pre>
<div class="block">
当打印属性值添加到属性集中时,获取打印属性类,该属性类将用作此打印属性值的“类别”。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<span>打印属性类category一个类别为<a href="../../../java/lang/Class.html" title="java.lang中的类"><code>java.lang.Class</code></a>的实例。</span>
</dd>
</dl> </li>
</ul> <a name="getName--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>getName</h4> <pre><a href="../../../java/lang/String.html" title="class in java.lang">String</a> getName()</pre>
<div class="block">
<span>获取此属性值是一个实例的类别的名称。</span>
<p> <span><i>注意:</i>此方法旨在为属性的类别提供一个默认的非本地化字符串。</span> <span>如果两个属性对象从返回同一类别<code>getCategory()</code>方法,他们应该从返回的同名<code>getName()</code>方法。</span> </p>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
属性类别名称。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>