Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes. |
Uses of Attribute in javax.print |
---|
Modifier and Type | Method and Description |
---|---|
Attribute[] |
AttributeException.getUnsupportedValues()
Returns the array of printing attributes for which the Print Service instance supports the attribute but does not support that particular value of the attribute, or null if there are no such attribute values. |
Modifier and Type | Method and Description |
---|---|
boolean |
PrintService.isAttributeValueSupported(Attribute attrval,
DocFlavor flavor,
AttributeSet attributes)
Determines whether a client can specify the given printing attribute value when setting up a job for this Print Service. |
Modifier and Type | Method and Description |
---|---|
Object |
PrintService.getDefaultAttributeValue(Class<? extends Attribute> category)
Determines this print service's default printing attribute value in the given category. |
Object |
PrintService.getSupportedAttributeValues(Class<? extends Attribute> category,
DocFlavor flavor,
AttributeSet attributes)
Determines the printing attribute values a client can specify in the given category when setting up a job for this print service. |
boolean |
PrintService.isAttributeCategorySupported(Class<? extends Attribute> category)
Determines whether a client can specify the given printing attribute category when setting up a job for this print service. |
Uses of Attribute in javax.print.attribute |
---|
Modifier and Type | Interface and Description |
---|---|
interface |
DocAttribute
Interface DocAttribute is a tagging interface which a printing attribute class implements to indicate the attribute denotes a setting for a doc. |
interface |
PrintJobAttribute
PrintJobAttribute is a tagging interface which a printing attribute class implements to indicate the attribute describes the status of a Print Job or some other characteristic of a Print Job. |
interface |
PrintRequestAttribute
Interface PrintRequestAttribute is a tagging interface which a printing attribute class implements to indicate the attribute denotes a requested setting for a print job. |
interface |
PrintServiceAttribute
Interface PrintServiceAttribute is a tagging interface which a printing attribute class implements to indicate the attribute describes the status of a Print Service or some other characteristic of a Print Service. |
interface |
SupportedValuesAttribute
Interface SupportedValuesAttribute is a tagging interface which a printing attribute class implements to indicate the attribute describes the supported values for another attribute. |
Modifier and Type | Method and Description |
---|---|
Attribute |
HashAttributeSet.get(Class<?> category)
Returns the attribute value which this attribute set contains in the given attribute category. |
Attribute |
AttributeSet.get(Class<?> category)
Returns the attribute value which this attribute set contains in the given attribute category. |
Attribute[] |
HashAttributeSet.toArray()
|
Attribute[] |
AttributeSet.toArray()
Returns an array of the attributes contained in this set. |
static Attribute |
AttributeSetUtilities.verifyAttributeValue(Object object,
Class<?> interfaceName)
Verify that the given object is an instance of the given interface, which is assumed to be interface Attribute or a subinterface
thereof. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Attribute> |
Attribute.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set. |
Modifier and Type | Method and Description |
---|---|
boolean |
HashAttributeSet.add(Attribute attribute)
Adds the specified attribute to this attribute set if it is not already present, first removing any existing in the same attribute category as the specified attribute value. |
boolean |
DocAttributeSet.add(Attribute attribute)
Adds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation). |
boolean |
PrintJobAttributeSet.add(Attribute attribute)
Adds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation). |
boolean |
PrintServiceAttributeSet.add(Attribute attribute)
Adds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation). |
boolean |
AttributeSet.add(Attribute attribute)
Adds the specified attribute to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value. |
boolean |
PrintRequestAttributeSet.add(Attribute attribute)
Adds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation). |
boolean |
HashAttributeSet.containsValue(Attribute attribute)
Returns true if this attribute set contains the given attribute. |
boolean |
AttributeSet.containsValue(Attribute attribute)
Returns true if this attribute set contains the given attribute value. |
boolean |
HashAttributeSet.remove(Attribute attribute)
Removes the specified attribute from this attribute set if present. |
boolean |
AttributeSet.remove(Attribute attribute)
Removes the specified attribute from this attribute set if present. |
static void |
AttributeSetUtilities.verifyCategoryForValue(Class<?> category,
Attribute attribute)
Verify that the given attribute category object is equal to the category of the given attribute value object. |
Constructor and Description |
---|
HashAttributeSet(Attribute attribute)
Construct a new attribute set, initially populated with the given attribute. |
HashAttributeSet(Attribute[] attributes)
Construct a new attribute set, initially populated with the values from the given array. |
HashAttributeSet(Attribute[] attributes,
Class<?> interfaceName)
Construct a new attribute set, where the members of the attribute set are restricted to the given interface. |
HashAttributeSet(Attribute attribute,
Class<?> interfaceName)
Construct a new attribute set, initially populated with the given attribute, where the members of the attribute set are restricted to the given interface. |
Uses of Attribute in javax.print.attribute.standard |
---|
Modifier and Type | Method and Description |
---|---|
Class<? extends Attribute> |
SheetCollate.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Sides.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
RequestingUserName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
ReferenceUriSchemesSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
QueuedJobCount.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrintQuality.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterURI.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Severity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterStateReasons.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterStateReason.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterState.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterResolution.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterMoreInfoManufacturer.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterMoreInfo.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterMessageFromOperator.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterMakeAndModel.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterLocation.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterIsAcceptingJobs.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterInfo.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PresentationDirection.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PDLOverrideSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PagesPerMinuteColor.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PagesPerMinute.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PageRanges.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
OutputDeviceAssigned.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
NumberUpSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
NumberUp.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
NumberOfInterveningJobs.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
NumberOfDocuments.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
MultipleDocumentHandling.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobStateReasons.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobStateReason.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobState.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobSheets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobPrioritySupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobPriority.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobOriginatingUserName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobMessageFromOperator.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobMediaSheetsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobMediaSheetsCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobMediaSheets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobKOctetsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobKOctetsProcessed.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobKOctets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobImpressionsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobImpressionsCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobImpressions.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobHoldUntil.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Finishings.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Fidelity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
DocumentName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Destination.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
DateTimeAtProcessing.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
DateTimeAtCreation.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
DateTimeAtCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
CopiesSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Copies.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Compression.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
ColorSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Chromaticity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
OrientationRequested.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
MediaSize.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
MediaPrintableArea.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Media.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.