-
- All Superinterfaces:
-
Serializable
- All Known Subinterfaces:
-
DocAttribute
,PrintJobAttribute
,PrintRequestAttribute
,PrintServiceAttribute
,SupportedValuesAttribute
- 所有已知实现类:
-
Chromaticity
,ColorSupported
,Compression
,Copies
,CopiesSupported
,DateTimeAtCompleted
,DateTimeAtCreation
,DateTimeAtProcessing
,Destination
,DialogOwner
,DialogTypeSelection
,DocumentName
,Fidelity
,Finishings
,JobHoldUntil
,JobImpressions
,JobImpressionsCompleted
,JobImpressionsSupported
,JobKOctets
,JobKOctetsProcessed
,JobKOctetsSupported
,JobMediaSheets
,JobMediaSheetsCompleted
,JobMediaSheetsSupported
,JobMessageFromOperator
,JobName
,JobOriginatingUserName
,JobPriority
,JobPrioritySupported
,JobSheets
,JobState
,JobStateReason
,JobStateReasons
,Media
,MediaName
,MediaPrintableArea
,MediaSize
,MediaSizeName
,MediaTray
,MultipleDocumentHandling
,NumberOfDocuments
,NumberOfInterveningJobs
,NumberUp
,NumberUpSupported
,OrientationRequested
,OutputDeviceAssigned
,PageRanges
,PagesPerMinute
,PagesPerMinuteColor
,PDLOverrideSupported
,PresentationDirection
,PrinterInfo
,PrinterIsAcceptingJobs
,PrinterLocation
,PrinterMakeAndModel
,PrinterMessageFromOperator
,PrinterMoreInfo
,PrinterMoreInfoManufacturer
,PrinterName
,PrinterResolution
,PrinterState
,PrinterStateReason
,PrinterStateReasons
PrinterStateReasons
,PrinterURI
,PrintQuality
,QueuedJobCount
,ReferenceUriSchemesSupported
,RequestingUserName
,Severity
,SheetCollate
,Sides
public interface Attributeextends Serializable
接口Attribute
是由任何和每个打印属性类实现的基本接口,以指示该类表示打印属性。 所有打印属性都是可序列化的。
-
-
方法详细信息
-
getCategory
类<? extends Attribute> getCategory()
获取打印属性类,该属性类在添加到属性集时用作此打印属性值的“类别”。- 结果
- 打印属性类(类别),类
java.lang.Class
的实例
-
getName
String getName()
获取此属性值为实例的类别的名称。注意:此方法旨在为属性的类别提供默认的非本地化字符串。 如果两个属性对象从返回同一类别
getCategory()
方法,他们应该从返回的同名getName()
方法。- 结果
- 属性类别名称
-
-